blogs__application-actions
blogs__assertion-counting
blogs__testing-redux-store
blogs__use-react-devtools
extending-cypress__chai-assertions
fundamentals__add-custom-command-ts
fundamentals__add-custom-command
fundamentals__chrome-remote-debugging
fundamentals__custom-browsers
fundamentals__dynamic-tests-from-api
fundamentals__dynamic-tests-from-csv
fundamentals__dynamic-tests
fundamentals__module-api-wrap
fundamentals__node-modules
fundamentals__window-size
logging-in__html-web-forms
logging-in__single-sign-on
logging-in__using-app-code
logging-in__xhr-web-forms
preprocessors__flow-browserify
preprocessors__typescript-browserify
preprocessors__typescript-webpack
server-communication__bootstrapping-your-app
server-communication__env-variables
server-communication__offline
server-communication__pass-value-between-specs
server-communication__request
server-communication__seeding-database-in-node
server-communication__server-timing
server-communication__stream-tests
server-communication__visit-2nd-domain
server-communication__wait-for-api
server-communication__xhr-assertions
stubbing-spying__functions
stubbing-spying__google-analytics
stubbing-spying__intercept
stubbing-spying__navigator
stubbing-spying__window-fetch
stubbing-spying__window-print
testing-dom__form-interactions
testing-dom__hover-hidden-elements
testing-dom__page-reloads
testing-dom__performance-metrics
testing-dom__responsive-image
testing-dom__sorting-table
testing-dom__tab-handling-links
testing-dom__wait-for-resource
unit-testing__application-code
Folders and files Name Name Last commit message
Last commit date
parent directory
View all files
tab-handling-anchor-links
How to get around lack of multiple tabs in Cypress
Read Trade-offs - Multiple tabs , and see cypress/e2e/tab_handling_anchor_links_spec.cy.js how to:
Test anchor links opening in new tabs: <a target="_blank">
.
Test anchor links that link to external domains: <a href="...">
.
Prevent content from opening in a new tab.
Request external content that would open in a new tab using cy.request()
.
Speed up tests by reducing loading times.
For more read:
You can’t perform that action at this time.