fix: e2e + i18n
This commit is contained in:
@@ -42,7 +42,7 @@ test.describe(
|
||||
// Duplicate refId B
|
||||
// Open the actions menu
|
||||
await dashboardPage
|
||||
.getByGrafanaSelector(selectors.components.QueryEditorRow.actionButton('Query actions menu'))
|
||||
.getByGrafanaSelector(selectors.components.QueryEditorRow.actionButton('Actions menu'))
|
||||
.first()
|
||||
.click();
|
||||
// Click duplicate query in the menu
|
||||
|
||||
@@ -36,7 +36,7 @@ describe('Panel edit tests - queries', () => {
|
||||
|
||||
// Duplicate refId B
|
||||
// Open the actions menu
|
||||
e2e.components.QueryEditorRow.actionButton('Query actions menu').eq(0).should('be.visible').click();
|
||||
e2e.components.QueryEditorRow.actionButton('Actions menu').eq(0).should('be.visible').click();
|
||||
// Click duplicate query in the menu
|
||||
cy.contains('Duplicate query').should('be.visible').click();
|
||||
|
||||
|
||||
@@ -630,7 +630,7 @@ export class QueryEditorRow<TQuery extends DataQuery> extends PureComponent<Prop
|
||||
i18nKey="query.query-editor-row.focused-message"
|
||||
values={{ queryName: query.refId, count: hiddenQueriesCount }}
|
||||
>
|
||||
Query {query.refId} is focused, {'{{count}}'} queries are hidden from view.
|
||||
Query {'{{queryName}}'} is focused, {'{{count}}'} queries are hidden from view.
|
||||
</Trans>
|
||||
</Text>
|
||||
<Button fill="text" size="sm" onClick={onFocusQuery}>
|
||||
|
||||
@@ -12249,8 +12249,8 @@
|
||||
},
|
||||
"query": {
|
||||
"query-editor-row": {
|
||||
"focused-message_one": "Query {{refId}} is focused, {{count}} queries are hidden from view.",
|
||||
"focused-message_other": "Query {{refId}} is focused, {{count}} queries are hidden from view."
|
||||
"focused-message_one": "Query {{queryName}} is focused, {{count}} queries are hidden from view.",
|
||||
"focused-message_other": "Query {{queryName}} is focused, {{count}} queries are hidden from view."
|
||||
},
|
||||
"query-editor-row-header": {
|
||||
"hidden": "Hidden",
|
||||
|
||||
Reference in New Issue
Block a user