Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Ritesh21
Ritesh21
Offline

Badges

Badges
3

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
2

Posts

Posts
1

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Ritesh21
Customize the badges you want to showcase on your profile
Re: Has anyone used Cypress to perform UI functional testing in AEM sites? - Adobe Experience Manager Assets 14-09-2021
Can you please refer me to those workarounds, especially for multiple tabs. I have tried to use stubs, but was not successful. This is the code I have const editWindowUrl = cy.window().then((win) => { const stub = cy.stub(win, "open").as("windowOpen"); }); cy.contains("Edit").click(); cy.get("@windowOpen").should("be.called"); cy.window().then((win) => { win.location.href = editWindowUrl; }); Thanks in advance.

Views

513

Likes

2

Replies

1
Likes given to
Likes from