question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Whoops, there is no test to run.

See original GitHub issue
  • Operating System: Ubuntu 16.04
  • Cypress Version: 1.0.3
  • Browser Version: Chrome Version 61.0.3163.91 (Official Build) (64-bit)

Hi, Why the following test gives me Whoops, there is no test to run. page?

describe('Existance', function(){
  it('Nav is visible', function(){
    cy.visit('https://medium.com/m/signin')
    cy.get('[data-action="twitter-auth"]').click()
    cy.wait(5000)
    cy.get('input[name="session[username_or_email]"]').type("<email>")
    cy.get('input[name="session[password]""]').type("<password>")
    cy.get('input[type="submit"]').click()
    cy.wait(5000)
    cy.visit('https://medium.com/me/stories/public')
    cy.get("nav").should('be.visible')
  });
})

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
marwan-nwhcommented, Nov 20, 2017

Well we have an extension for Medium, and I have to go to medium to make some tests while I am logged in, how I should do that? If I requested the page it will redirect to the login page.

0reactions
eric07109commented, Mar 21, 2018

Here is my case:

describe('Login', function(){
	it('Login', function(){
		cy.visit('URL')
		cy.get('#j_username').type('account')
		cy.get('#j_password').type('password')
		cy.get('input[type=submit]').click()
		cy.url().should('include', '/index.req')
	})
})

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Whoops, there is no test to run. · Issue #15126 - GitHub
bahmutov , I am getting the error "Whoops, there is no test to run After clicking on Login getting the error "Whoops, there...
Read more >
cypress-io/cypress - Gitter
On a website, I've got a redirection to "Whoops, there is no test to run." when I visit it. Do you have any...
Read more >
Cypress seems to have stalled - Stack Overflow
It seems to stall at step 5. The test runner suddenly stalls and without warning or error, shows "Whoops, there is no test...
Read more >
How to Run Cypress Tests in Chrome and Edge | BrowserStack
Running Specific Tests by Chrome Browser. There may be times when running or ignoring one or more tests in specific browsers is beneficial....
Read more >
Troubleshooting | Cypress Documentation
There are times when you will encounter errors or unexpected behavior with Cypress ... Run the same tests in both Electron and Chrome,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found