Skip to content

TomGilbert84/TheOfficeQuiz

Repository files navigation

The Office Quiz

A project which uses the jxm/the_office_lines dataset to create a quiz based on the American version of The Office.

To run the quiz in the terminal, type python officeTrivia.py

To run the quiz in the front end, type npm run app. This will run the app here: http://127.0.0.1:5000.

To run the Playwright tests, type npm run tests.

The data for the Allure report will be created in the script above.

To generate the Allure report, type npm run generate-allure.

To open the report, type npm run open-allure.

The Allure report will also be published here.

Note: there is a slight time delay before the Allure report is updated on the link above.

Playwright Tests

ToDo

Try and add some tests which use mock data to check that the correct functionality occurs when a correct/incorrect answer is entered.

The Office!