mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 17:06:57 -06:00
Package: @grafana/e2e updates (#59723)
E2E package updates - Update addDashboard flow to work with latest grafana - Update viewport configuration to ensure components aren't hidden
This commit is contained in:
parent
0bdee8757b
commit
b4cf711a74
@ -1,5 +1,7 @@
|
||||
{
|
||||
"projectId": "zb7k1c",
|
||||
"supportFile": "cypress/support/index.ts",
|
||||
"videoCompression": 20
|
||||
"videoCompression": 20,
|
||||
"viewportWidth": 1920,
|
||||
"viewportHeight": 1080
|
||||
}
|
||||
|
@ -236,9 +236,9 @@ const addVariable = (config: PartialAddVariableConfig, isFirst: boolean): AddVar
|
||||
e2e.pages.Dashboard.Settings.Variables.Edit.General.generalTypeSelectV2()
|
||||
.should('be.visible')
|
||||
.within(() => {
|
||||
e2e.components.Select.singleValue().should('have.text', 'Query').click();
|
||||
e2e.components.Select.singleValue().should('have.text', 'Query').parent().click();
|
||||
});
|
||||
e2e.components.Select.option().should('be.visible').contains(type).click();
|
||||
e2e.pages.Dashboard.Settings.Variables.Edit.General.generalTypeSelectV2().find('input').type(`${type}{enter}`);
|
||||
}
|
||||
|
||||
if (label) {
|
||||
|
Loading…
Reference in New Issue
Block a user