Skip to content

add solution#1290

Open
0-nira-0 wants to merge 3 commits intomate-academy:masterfrom
0-nira-0:dev
Open

add solution#1290
0-nira-0 wants to merge 3 commits intomate-academy:masterfrom
0-nira-0:dev

Conversation

@0-nira-0
Copy link
Copy Markdown

@0-nira-0
Copy link
Copy Markdown
Author

0-nira-0 commented Mar 24, 2026

I'm having an issue with this test:

it(“there should be no items in localStorage”, () => {
      page.data().should(“deep.equal”, []);
 });

The only information I've found suggests that this is caused by this line:
localStorage: () => cy.getAllLocalStorage().its(“http://localhost:3001”),
Before each test, we clear localStorage and get an empty object,
yet the test will fail

And the question is, how can I solve this problem?

Copy link
Copy Markdown

@etojeDenys etojeDenys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is better to ask for help in the chat because it is difficult to explain how to fix the problem here

@0-nira-0 0-nira-0 requested a review from etojeDenys March 24, 2026 22:15
Copy link
Copy Markdown

@brespect brespect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good progress, check next:

@0-nira-0 0-nira-0 requested a review from brespect March 25, 2026 10:05
Copy link
Copy Markdown

@Anton-Kuchmasov Anton-Kuchmasov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants