Explore: Refactor & centralize URL/state sync (#66286)
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
This commit is contained in:
co-authored by
Piotr Jamróz
parent
6900336f09
commit
067bbcbe56
@@ -16,6 +16,7 @@ e2e.scenario({
|
||||
cy.get('button[title="Delete query"]').each((button) => {
|
||||
button.trigger('click');
|
||||
});
|
||||
cy.get('button[title="Delete query"]').should('not.exist');
|
||||
e2e.components.QueryTab.queryHistoryButton().should('be.visible').click();
|
||||
|
||||
e2e.components.DataSource.TestData.QueryTab.scenarioSelectContainer()
|
||||
@@ -36,7 +37,7 @@ e2e.scenario({
|
||||
cy.get('body').click();
|
||||
cy.get('body').type('t{leftarrow}');
|
||||
|
||||
cy.location().then((locPostKeypress) => {
|
||||
cy.location().should((locPostKeypress) => {
|
||||
const params = new URLSearchParams(locPostKeypress.search);
|
||||
const leftJSON = JSON.parse(params.get('left'));
|
||||
// be sure the keypress affected the time window
|
||||
|
||||
Reference in New Issue
Block a user