Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Hailong Cui <[email protected]>
  • Loading branch information
Hailong-am committed Jan 30, 2024
1 parent a921122 commit ec6dec9
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) {
cy.visit(`${BASE_PATH}/app/home`);
// cy.waitForLoader();

// Common text to wait for to confirm page loaded, give up to 60 seconds for initial load
// Common text to wait for to confirm page loaded, give up to 120 seconds for initial load
cy.get(`input[placeholder="Ask question"]`, { timeout: 120000 }).as(
'chatInput'
);
Expand All @@ -34,6 +34,12 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) {
);
});

// clean up localStorage items
after(() => {
localStorage.removeItem('home:welcome:show');
localStorage.removeItem('home:newThemeModal:show');
});

describe('Trace page', () => {
it('open trace page and verify page content', () => {
// click How was this generated? to view trace
Expand Down

0 comments on commit ec6dec9

Please sign in to comment.