Skip to content

Commit

Permalink
add reloading to test script, so that we can be sure, settings are sa…
Browse files Browse the repository at this point in the history
…ved in local storage...
  • Loading branch information
yeus committed Jun 3, 2024
1 parent 39d4e67 commit a39ba12
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/cypress/e2e/home.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ describe('Landing', () => {
cy.get('[aria-label="Expert mode"] > .q-toggle__inner').click();
cy.get('[aria-label="Show task costs"] > .q-toggle__inner').click();

cy.reload();
// TODO: check if expert mode is still there...

cy.get(
'.user > .message-container > :nth-child(1) > .items-end > .col > .q-markdown > p'
).should('have.text', 'hello world!');
Expand Down

0 comments on commit a39ba12

Please sign in to comment.