0

Using Codeception acceptance tests I need to check some behaviors with and without Javascript. Right now, using Seleniun I can run all tests with Javascript enabled, and using PhpBrowser I can run all tests without javascript. But how can I do for running some tests with javascript and some tests without javascript?

1
  • 1
    How about using 2 different suites and configuring one to use WebDriver and another to use PhpBrowser? Commented Dec 26, 2019 at 18:18

1 Answer 1

1

Codeception has several methods of sorting tests:. "groups" "environments" and "suites". Either environments or suites could be used to run tests acceptance tests with different drivers. You can create a new suite on the command line with

codecept generate suite mySuite

Then just modify mySuite.yml and you're good to go.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.