diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 6a547b3518fd..000000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2.1 - -jobs: - no_op: - docker: - - image: cimg/base:stable - steps: - - run: echo "no op as GH pages does not need a circle job to deploy. Disregard this job and related workflows..." -workflows: - main: - jobs: - - no_op \ No newline at end of file diff --git a/commands/misc.html b/commands/misc.html index cba95b913bb5..2ecf772dce27 100644 --- a/commands/misc.html +++ b/commands/misc.html @@ -70,6 +70,43 @@
To end the command chain, use the .end()
command.
// cy.end is useful when you want to end a chain of commands
+// and force Cypress to re-query from the root element
+cy.get('.misc-table').within(() => {
+ // ends the current chain and yields null
+ cy.contains('Cheryl').click().end()
+
+ // queries the entire table again
+ cy.contains('Charles').click()
+})
+ Table | +
---|
User: Cheryl | +
User: Charles | +
User: Darryl | +