Skip to content

Commit

Permalink
Fix flaky observability/4_panels tests (#918)
Browse files Browse the repository at this point in the history
* Fix broken 4_panels test delays

Signed-off-by: Simeon Widdis <[email protected]>

* Recompute yarn.lock

Signed-off-by: Simeon Widdis <[email protected]>

* Remove added yarn.lock entirely

Signed-off-by: Simeon Widdis <[email protected]>

---------

Signed-off-by: Simeon Widdis <[email protected]>
  • Loading branch information
Swiddis authored Oct 11, 2023
1 parent c1f8c39 commit 31c9fe9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('Testing panels table', () => {
.contains('Duplicate')
.trigger('mouseover')
.click();
cy.wait(delay);
cy.get('.panel-header-count').contains('(2)');
});

it('Deletes panels', () => {
Expand Down Expand Up @@ -108,7 +108,7 @@ describe('Testing panels table', () => {
.contains(/^Create$/)
.trigger('mouseover')
.click();
cy.wait(delay * 2);
cy.contains(TEST_PANEL).should('exist');
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export const landOnPanels = () => {
* Panel Constants
*/

export const PANEL_DELAY = 100;
export const PANEL_DELAY = 0;

export const TEST_PANEL = 'Test Panel';
export const SAMPLE_PANEL = '[Logs] Web traffic Panel';
Expand Down

0 comments on commit 31c9fe9

Please sign in to comment.