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

Likes
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?
Avatar
Affirm 1
Level 1
Ritesh21
Level 1

Likes

2 likes

Total Posts

1 post

Correct reply

1 solution
Top badges earned
Affirm 1
Boost 1
Give Back
View profile
Ritesh21
- Adobe Experience Manager Assets
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

290

Likes

2

Replies

1
Likes given to
Likes from