stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Playwright Workshop Flashcards | StudBud
Explore
/
Playwright Workshop
Playwright Workshop
7 terms
·
StudBud Administration
Imported from external platform
Flashcards
7 cards
F
Practice quiz
P
Host live
L
Questions
7
Answers
1
What are key benefits of using Git?
A. Tracks history of changes
B. Enables collaboration via ms-team
D. Compiles TypeScript code
C. Runs automated tests
2
Which of the following is NOT a type in TypeScript?
A. string
D. element
C. boolean
B. number
3
Why do we need to use async & await in Playwright tests?
A. To define custom test names
D. To switch branches in Git
B. To make the test run faster
C. To tell the test to wait (e.g. for banner to display or page to open)
4
What is Playwright primarily used for?
B.UI test automation
A.Backend development
C.API testing
D.Styling web pages
5
In Playwright, which function is used to validate test results?
A. check
B. verify
C. expect
D. confirm
6
What is the main difference between TypeScript and JavaScript?
B. TypeScript adds types and helps catch errors during development
D. TypeScript doesn’t support functions
A. TypeScript is only used for backend development
C. JavaScript runs faster than TypeScript
7
In a Playwright assertion, what does the locator refer to?
A. The expected result of the test
B. The element you want to check on the page
C. The statement used to compare values
D. The action that triggers a result