Night Watch MCQs
Night Watch MCQs
Sure, here are the questions with options and the correct answers:
1. What is Nightwatch?
A) Python
B) JavaScript
C) Java
D) Ruby
A) run tests
B) start testing
C) execute tests
D) nightwatch
A) assert.equal()
B) assert.contains()
C) assert.visible()
D) assert.empty()
**Correct Answer: A) Pauses the test execution until a specific element becomes visible**
9. Which configuration file is used to set up test environments and other settings in Nightwatch?
A) nightwatch.js
B) config.json
C) setup.cfg
D) test.conf