0
0
Selenium Pythontesting~5 mins

GitHub Actions integration in Selenium Python - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is GitHub Actions used for?
GitHub Actions is a tool that helps automate tasks like testing, building, and deploying code whenever you make changes to your project.
Click to reveal answer
beginner
How do you trigger a GitHub Actions workflow?
You trigger a workflow by specifying events like pushing code, creating a pull request, or on a schedule in the workflow's YAML file.
Click to reveal answer
beginner
What file format is used to define GitHub Actions workflows?
Workflows are defined using YAML files placed in the .github/workflows directory of your repository.
Click to reveal answer
intermediate
How can you run Selenium tests using GitHub Actions?
You set up a job in the workflow that installs Python, Selenium, and browser drivers, then runs your test scripts automatically.
Click to reveal answer
beginner
What is the purpose of 'jobs' and 'steps' in a GitHub Actions workflow?
'Jobs' are groups of tasks that run on a machine, and 'steps' are individual commands or actions inside a job.
Click to reveal answer
Where do you place GitHub Actions workflow files in your repository?
Aroot directory
B.github/workflows
Csrc/
Dtests/
Which file format is used to write GitHub Actions workflows?
AJSON
BXML
CYAML
DINI
What event can trigger a GitHub Actions workflow?
APush to repository
BOpening a text editor
CRunning a local script
DClosing the browser
In GitHub Actions, what is a 'job'?
AA single command
BA branch name
CA type of repository
DA group of steps that run on a machine
To run Selenium tests in GitHub Actions, you need to:
AInstall Python, Selenium, and browser drivers in the workflow
BOnly push your test scripts
CUse a special Selenium GitHub repository
DRun tests manually on your computer
Explain how to set up a GitHub Actions workflow to run Selenium Python tests automatically.
Think about the sequence of preparing the environment and running tests.
You got /5 concepts.
    Describe the roles of 'jobs' and 'steps' in a GitHub Actions workflow.
    Consider how tasks are organized and executed.
    You got /4 concepts.