requirement
stringlengths
46
119
url
stringlengths
23
64
messages
listlengths
2
2
Test login with valid username and password and verify the user lands on the secure area
https://the-internet.herokuapp.com/login
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest login with valid username and password and verify the user lands on the secure area\nTarget page: https://the-internet.herokuapp.com/login" }, { "role": "assistant", "content": "// Requirement: Tes...
Verify that logging in with a wrong password shows an error message
https://the-internet.herokuapp.com/login
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify that logging in with a wrong password shows an error message\nTarget page: https://the-internet.herokuapp.com/login" }, { "role": "assistant", "content": "// Requirement: Verify that logging in w...
Check that submitting the login form with an empty username displays an error
https://the-internet.herokuapp.com/login
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nCheck that submitting the login form with an empty username displays an error\nTarget page: https://the-internet.herokuapp.com/login" }, { "role": "assistant", "content": "// Requirement: Check that sub...
Make sure a user can log in and then log out successfully
https://the-internet.herokuapp.com/login
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nMake sure a user can log in and then log out successfully\nTarget page: https://the-internet.herokuapp.com/login" }, { "role": "assistant", "content": "// Requirement: Make sure a user can log in and th...
Write a test that confirms login fails when both fields are left blank
https://the-internet.herokuapp.com/login
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nWrite a test that confirms login fails when both fields are left blank\nTarget page: https://the-internet.herokuapp.com/login" }, { "role": "assistant", "content": "// Requirement: Write a test that con...
Test that a standard user can sign in on the Sauce Demo login page and sees the products page
https://www.saucedemo.com
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest that a standard user can sign in on the Sauce Demo login page and sees the products page\nTarget page: https://www.saucedemo.com" }, { "role": "assistant", "content": "// Requirement: Test that a s...
Verify a locked out user sees an appropriate error when trying to log in
https://www.saucedemo.com
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify a locked out user sees an appropriate error when trying to log in\nTarget page: https://www.saucedemo.com" }, { "role": "assistant", "content": "// Requirement: Verify a locked out user sees an a...
Check the forgot password flow accepts an email address and shows a confirmation
https://the-internet.herokuapp.com/forgot_password
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nCheck the forgot password flow accepts an email address and shows a confirmation\nTarget page: https://the-internet.herokuapp.com/forgot_password" }, { "role": "assistant", "content": "// Requirement: C...
Fill the full name and email fields in the text box form, submit, and verify the entered values are displayed
https://demoqa.com/text-box
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nFill the full name and email fields in the text box form, submit, and verify the entered values are displayed\nTarget page: https://demoqa.com/text-box" }, { "role": "assistant", "content": "// Requirem...
Verify the number input only accepts numeric values
https://the-internet.herokuapp.com/inputs
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify the number input only accepts numeric values\nTarget page: https://the-internet.herokuapp.com/inputs" }, { "role": "assistant", "content": "// Requirement: Verify the number input only accepts nu...
Test typing into the current address textarea and confirm the text is preserved after submit
https://demoqa.com/text-box
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest typing into the current address textarea and confirm the text is preserved after submit\nTarget page: https://demoqa.com/text-box" }, { "role": "assistant", "content": "// Requirement: Test typing ...
Check that entering an invalid email format in the email field shows a validation state
https://demoqa.com/text-box
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nCheck that entering an invalid email format in the email field shows a validation state\nTarget page: https://demoqa.com/text-box" }, { "role": "assistant", "content": "// Requirement: Check that enteri...
Make sure key presses in the input field are detected and the result text shows the pressed key
https://the-internet.herokuapp.com/key_presses
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nMake sure key presses in the input field are detected and the result text shows the pressed key\nTarget page: https://the-internet.herokuapp.com/key_presses" }, { "role": "assistant", "content": "// Req...
Verify text can be cleared from an input field and the field is empty afterwards
https://demoqa.com/text-box
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify text can be cleared from an input field and the field is empty afterwards\nTarget page: https://demoqa.com/text-box" }, { "role": "assistant", "content": "// Requirement: Verify text can be clear...
Fill in every required field of the practice form with valid data, submit it, and verify the confirmation modal appears
https://demoqa.com/automation-practice-form
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nFill in every required field of the practice form with valid data, submit it, and verify the confirmation modal appears\nTarget page: https://demoqa.com/automation-practice-form" }, { "role": "assistant", ...
Submit the practice form with the required first name missing and verify the form is not accepted
https://demoqa.com/automation-practice-form
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nSubmit the practice form with the required first name missing and verify the form is not accepted\nTarget page: https://demoqa.com/automation-practice-form" }, { "role": "assistant", "content": "// Requ...
Write a test that fills the checkout information form with first name, last name and postal code and continues
https://www.saucedemo.com
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nWrite a test that fills the checkout information form with first name, last name and postal code and continues\nTarget page: https://www.saucedemo.com" }, { "role": "assistant", "content": "// Requireme...
Verify form field values persist when the user corrects one invalid field and resubmits
https://demoqa.com/automation-practice-form
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify form field values persist when the user corrects one invalid field and resubmits\nTarget page: https://demoqa.com/automation-practice-form" }, { "role": "assistant", "content": "// Requirement: V...
Test that the gender radio selection and mobile number are both required to submit the student registration form
https://demoqa.com/automation-practice-form
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest that the gender radio selection and mobile number are both required to submit the student registration form\nTarget page: https://demoqa.com/automation-practice-form" }, { "role": "assistant", "con...
Select option 1 from the dropdown and verify it is shown as selected
https://the-internet.herokuapp.com/dropdown
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nSelect option 1 from the dropdown and verify it is shown as selected\nTarget page: https://the-internet.herokuapp.com/dropdown" }, { "role": "assistant", "content": "// Requirement: Select option 1 from...
Verify the dropdown shows a disabled placeholder option by default
https://the-internet.herokuapp.com/dropdown
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify the dropdown shows a disabled placeholder option by default\nTarget page: https://the-internet.herokuapp.com/dropdown" }, { "role": "assistant", "content": "// Requirement: Verify the dropdown sh...
Test selecting a color from the old style select menu and confirm the selection
https://demoqa.com/select-menu
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest selecting a color from the old style select menu and confirm the selection\nTarget page: https://demoqa.com/select-menu" }, { "role": "assistant", "content": "// Requirement: Test selecting a color...
Check that the multi select dropdown allows choosing more than one option
https://demoqa.com/select-menu
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nCheck that the multi select dropdown allows choosing more than one option\nTarget page: https://demoqa.com/select-menu" }, { "role": "assistant", "content": "// Requirement: Check that the multi select ...
Verify a value can be picked in the react select dropdown by typing and choosing from filtered options
https://demoqa.com/select-menu
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify a value can be picked in the react select dropdown by typing and choosing from filtered options\nTarget page: https://demoqa.com/select-menu" }, { "role": "assistant", "content": "// Requirement:...
Make sure switching the dropdown from option 1 to option 2 updates the selected value
https://the-internet.herokuapp.com/dropdown
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nMake sure switching the dropdown from option 1 to option 2 updates the selected value\nTarget page: https://the-internet.herokuapp.com/dropdown" }, { "role": "assistant", "content": "// Requirement: Mak...
Test the autocomplete field suggests options while typing and a suggestion can be selected
https://demoqa.com/auto-complete
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest the autocomplete field suggests options while typing and a suggestion can be selected\nTarget page: https://demoqa.com/auto-complete" }, { "role": "assistant", "content": "// Requirement: Test the ...
Verify a selected value can be removed from the multiple values autocomplete field
https://demoqa.com/auto-complete
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify a selected value can be removed from the multiple values autocomplete field\nTarget page: https://demoqa.com/auto-complete" }, { "role": "assistant", "content": "// Requirement: Verify a selected...
Check the first checkbox and verify it becomes checked
https://the-internet.herokuapp.com/checkboxes
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nCheck the first checkbox and verify it becomes checked\nTarget page: https://the-internet.herokuapp.com/checkboxes" }, { "role": "assistant", "content": "// Requirement: Check the first checkbox and ver...
Uncheck a checkbox that is checked by default and verify its state changes
https://the-internet.herokuapp.com/checkboxes
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nUncheck a checkbox that is checked by default and verify its state changes\nTarget page: https://the-internet.herokuapp.com/checkboxes" }, { "role": "assistant", "content": "// Requirement: Uncheck a ch...
Verify all checkboxes can be checked and all end up in the checked state
https://the-internet.herokuapp.com/checkboxes
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify all checkboxes can be checked and all end up in the checked state\nTarget page: https://the-internet.herokuapp.com/checkboxes" }, { "role": "assistant", "content": "// Requirement: Verify all che...
Expand the checkbox tree, select the Documents node, and verify child items are reported as selected
https://demoqa.com/checkbox
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nExpand the checkbox tree, select the Documents node, and verify child items are reported as selected\nTarget page: https://demoqa.com/checkbox" }, { "role": "assistant", "content": "// Requirement: Expa...
Test that selecting the Yes radio button shows a confirmation of the choice
https://demoqa.com/radio-button
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest that selecting the Yes radio button shows a confirmation of the choice\nTarget page: https://demoqa.com/radio-button" }, { "role": "assistant", "content": "// Requirement: Test that selecting the Y...
Verify the No radio button is disabled and cannot be selected
https://demoqa.com/radio-button
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify the No radio button is disabled and cannot be selected\nTarget page: https://demoqa.com/radio-button" }, { "role": "assistant", "content": "// Requirement: Verify the No radio button is disabled ...
Make sure choosing the Impressive radio button replaces a previous Yes selection
https://demoqa.com/radio-button
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nMake sure choosing the Impressive radio button replaces a previous Yes selection\nTarget page: https://demoqa.com/radio-button" }, { "role": "assistant", "content": "// Requirement: Make sure choosing t...
Verify a double click on the double click button shows the double click message
https://demoqa.com/buttons
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify a double click on the double click button shows the double click message\nTarget page: https://demoqa.com/buttons" }, { "role": "assistant", "content": "// Requirement: Verify a double click on t...
Test that right clicking the right click button displays the right click confirmation
https://demoqa.com/buttons
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest that right clicking the right click button displays the right click confirmation\nTarget page: https://demoqa.com/buttons" }, { "role": "assistant", "content": "// Requirement: Test that right clic...
Check that clicking the Home link navigates to the demoqa home page
https://demoqa.com/links
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nCheck that clicking the Home link navigates to the demoqa home page\nTarget page: https://demoqa.com/links" }, { "role": "assistant", "content": "// Requirement: Check that clicking the Home link naviga...
Verify the Created api link click shows a 201 status response message
https://demoqa.com/links
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify the Created api link click shows a 201 status response message\nTarget page: https://demoqa.com/links" }, { "role": "assistant", "content": "// Requirement: Verify the Created api link click show...
Make sure following the redirect link ends on the status codes page
https://the-internet.herokuapp.com/redirector
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nMake sure following the redirect link ends on the status codes page\nTarget page: https://the-internet.herokuapp.com/redirector" }, { "role": "assistant", "content": "// Requirement: Make sure following...
Test that the dynamic id button can be clicked and shows a dynamic click message
https://demoqa.com/buttons
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest that the dynamic id button can be clicked and shows a dynamic click message\nTarget page: https://demoqa.com/buttons" }, { "role": "assistant", "content": "// Requirement: Test that the dynamic id ...
Trigger the JavaScript alert, accept it, and verify the result text confirms the alert was accepted
https://the-internet.herokuapp.com/javascript_alerts
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTrigger the JavaScript alert, accept it, and verify the result text confirms the alert was accepted\nTarget page: https://the-internet.herokuapp.com/javascript_alerts" }, { "role": "assistant", "content...
Dismiss the JavaScript confirm dialog and check the result says it was cancelled
https://the-internet.herokuapp.com/javascript_alerts
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nDismiss the JavaScript confirm dialog and check the result says it was cancelled\nTarget page: https://the-internet.herokuapp.com/javascript_alerts" }, { "role": "assistant", "content": "// Requirement:...
Enter text into the JavaScript prompt, accept it, and verify the entered text appears in the result
https://the-internet.herokuapp.com/javascript_alerts
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nEnter text into the JavaScript prompt, accept it, and verify the entered text appears in the result\nTarget page: https://the-internet.herokuapp.com/javascript_alerts" }, { "role": "assistant", "content...
Open the small modal dialog and verify its title and body are visible, then close it
https://demoqa.com/modal-dialogs
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nOpen the small modal dialog and verify its title and body are visible, then close it\nTarget page: https://demoqa.com/modal-dialogs" }, { "role": "assistant", "content": "// Requirement: Open the small ...
Check that the entry ad modal appears on page load and can be closed
https://the-internet.herokuapp.com/entry_ad
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nCheck that the entry ad modal appears on page load and can be closed\nTarget page: https://the-internet.herokuapp.com/entry_ad" }, { "role": "assistant", "content": "// Requirement: Check that the entry...
Hover over the first user avatar and verify the hidden caption with the user name becomes visible
https://the-internet.herokuapp.com/hovers
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nHover over the first user avatar and verify the hidden caption with the user name becomes visible\nTarget page: https://the-internet.herokuapp.com/hovers" }, { "role": "assistant", "content": "// Requir...
Verify hovering over each of the three avatars reveals a caption for each one
https://the-internet.herokuapp.com/hovers
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify hovering over each of the three avatars reveals a caption for each one\nTarget page: https://the-internet.herokuapp.com/hovers" }, { "role": "assistant", "content": "// Requirement: Verify hoveri...
Drag column A onto column B and verify the two columns swap positions
https://the-internet.herokuapp.com/drag_and_drop
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nDrag column A onto column B and verify the two columns swap positions\nTarget page: https://the-internet.herokuapp.com/drag_and_drop" }, { "role": "assistant", "content": "// Requirement: Drag column A ...
Test dragging the draggable box into the droppable target and verify the target text changes to Dropped
https://demoqa.com/droppable
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest dragging the draggable box into the droppable target and verify the target text changes to Dropped\nTarget page: https://demoqa.com/droppable" }, { "role": "assistant", "content": "// Requirement: ...
Verify hovering the tooltip button displays a tooltip with text
https://demoqa.com/tool-tips
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify hovering the tooltip button displays a tooltip with text\nTarget page: https://demoqa.com/tool-tips" }, { "role": "assistant", "content": "// Requirement: Verify hovering the tooltip button displ...
Check that a context menu click on the page shows the expected alert
https://the-internet.herokuapp.com/context_menu
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nCheck that a context menu click on the page shows the expected alert\nTarget page: https://the-internet.herokuapp.com/context_menu" }, { "role": "assistant", "content": "// Requirement: Check that a con...
Make sure the floating menu stays visible after scrolling down the page
https://the-internet.herokuapp.com/floating_menu
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nMake sure the floating menu stays visible after scrolling down the page\nTarget page: https://the-internet.herokuapp.com/floating_menu" }, { "role": "assistant", "content": "// Requirement: Make sure th...
Test reordering items in the sortable list by dragging the first item to the last position
https://demoqa.com/sortable
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest reordering items in the sortable list by dragging the first item to the last position\nTarget page: https://demoqa.com/sortable" }, { "role": "assistant", "content": "// Requirement: Test reorderin...
Verify an element in the selectable list can be clicked and gains the active state
https://demoqa.com/selectable
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify an element in the selectable list can be clicked and gains the active state\nTarget page: https://demoqa.com/selectable" }, { "role": "assistant", "content": "// Requirement: Verify an element in...
Check keyboard navigation by pressing Tab from the username field and verifying focus moves to the password field
https://the-internet.herokuapp.com/login
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nCheck keyboard navigation by pressing Tab from the username field and verifying focus moves to the password field\nTarget page: https://the-internet.herokuapp.com/login" }, { "role": "assistant", "conte...
Verify the web table displays the expected column headers
https://demoqa.com/webtables
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify the web table displays the expected column headers\nTarget page: https://demoqa.com/webtables" }, { "role": "assistant", "content": "// Requirement: Verify the web table displays the expected col...
Add a new record to the web table using the registration form and verify it appears in the table
https://demoqa.com/webtables
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nAdd a new record to the web table using the registration form and verify it appears in the table\nTarget page: https://demoqa.com/webtables" }, { "role": "assistant", "content": "// Requirement: Add a n...
Edit an existing row in the web table and verify the updated value is shown
https://demoqa.com/webtables
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nEdit an existing row in the web table and verify the updated value is shown\nTarget page: https://demoqa.com/webtables" }, { "role": "assistant", "content": "// Requirement: Edit an existing row in the ...
Delete a record from the web table and verify it is removed
https://demoqa.com/webtables
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nDelete a record from the web table and verify it is removed\nTarget page: https://demoqa.com/webtables" }, { "role": "assistant", "content": "// Requirement: Delete a record from the web table and verif...
Use the search box to filter the web table and verify only matching rows remain
https://demoqa.com/webtables
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nUse the search box to filter the web table and verify only matching rows remain\nTarget page: https://demoqa.com/webtables" }, { "role": "assistant", "content": "// Requirement: Use the search box to fi...
Switch to the Origin tab and verify its content panel is displayed
https://demoqa.com/tabs
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nSwitch to the Origin tab and verify its content panel is displayed\nTarget page: https://demoqa.com/tabs" }, { "role": "assistant", "content": "// Requirement: Switch to the Origin tab and verify its co...
Verify the More tab is disabled and cannot be activated
https://demoqa.com/tabs
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify the More tab is disabled and cannot be activated\nTarget page: https://demoqa.com/tabs" }, { "role": "assistant", "content": "// Requirement: Verify the More tab is disabled and cannot be activat...
Expand the second accordion section and verify the first section collapses
https://demoqa.com/accordian
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nExpand the second accordion section and verify the first section collapses\nTarget page: https://demoqa.com/accordian" }, { "role": "assistant", "content": "// Requirement: Expand the second accordion s...
Test that hovering the main menu item reveals its sub menu items
https://demoqa.com/menu
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest that hovering the main menu item reveals its sub menu items\nTarget page: https://demoqa.com/menu" }, { "role": "assistant", "content": "// Requirement: Test that hovering the main menu item reveal...
Verify the jQuery UI menu allows navigating to a submenu entry
https://the-internet.herokuapp.com/jqueryui/menu
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify the jQuery UI menu allows navigating to a submenu entry\nTarget page: https://the-internet.herokuapp.com/jqueryui/menu" }, { "role": "assistant", "content": "// Requirement: Verify the jQuery UI ...
Click start on the hidden element example and verify the Hello World text becomes visible after loading
https://the-internet.herokuapp.com/dynamic_loading/1
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nClick start on the hidden element example and verify the Hello World text becomes visible after loading\nTarget page: https://the-internet.herokuapp.com/dynamic_loading/1" }, { "role": "assistant", "con...
Click start on the rendered-after-load example and verify Hello World appears
https://the-internet.herokuapp.com/dynamic_loading/2
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nClick start on the rendered-after-load example and verify Hello World appears\nTarget page: https://the-internet.herokuapp.com/dynamic_loading/2" }, { "role": "assistant", "content": "// Requirement: Cl...
Test that clicking Remove hides the checkbox and clicking Add brings it back
https://the-internet.herokuapp.com/dynamic_controls
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest that clicking Remove hides the checkbox and clicking Add brings it back\nTarget page: https://the-internet.herokuapp.com/dynamic_controls" }, { "role": "assistant", "content": "// Requirement: Test...
Verify the enable button makes the text input editable and text can then be typed
https://the-internet.herokuapp.com/dynamic_controls
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify the enable button makes the text input editable and text can then be typed\nTarget page: https://the-internet.herokuapp.com/dynamic_controls" }, { "role": "assistant", "content": "// Requirement:...
Scroll to the bottom of the infinite scroll page and verify additional paragraphs are loaded
https://the-internet.herokuapp.com/infinite_scroll
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nScroll to the bottom of the infinite scroll page and verify additional paragraphs are loaded\nTarget page: https://the-internet.herokuapp.com/infinite_scroll" }, { "role": "assistant", "content": "// Re...
Verify a notification message is shown after clicking the click here link
https://the-internet.herokuapp.com/notification_message_rendered
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify a notification message is shown after clicking the click here link\nTarget page: https://the-internet.herokuapp.com/notification_message_rendered" }, { "role": "assistant", "content": "// Require...
Check that a text file from the download page can be downloaded successfully
https://the-internet.herokuapp.com/download
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nCheck that a text file from the download page can be downloaded successfully\nTarget page: https://the-internet.herokuapp.com/download" }, { "role": "assistant", "content": "// Requirement: Check that a...
Verify the text content inside the nested frames can be read
https://the-internet.herokuapp.com/nested_frames
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify the text content inside the nested frames can be read\nTarget page: https://the-internet.herokuapp.com/nested_frames" }, { "role": "assistant", "content": "// Requirement: Verify the text content...
Type text into the rich text editor inside the iframe and verify it appears
https://the-internet.herokuapp.com/iframe
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nType text into the rich text editor inside the iframe and verify it appears\nTarget page: https://the-internet.herokuapp.com/iframe" }, { "role": "assistant", "content": "// Requirement: Type text into ...
Click the new tab button and verify the newly opened page shows the sample heading
https://demoqa.com/browser-windows
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nClick the new tab button and verify the newly opened page shows the sample heading\nTarget page: https://demoqa.com/browser-windows" }, { "role": "assistant", "content": "// Requirement: Click the new t...
Test that clicking the click here link opens a new window with the New Window heading
https://the-internet.herokuapp.com/windows
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest that clicking the click here link opens a new window with the New Window heading\nTarget page: https://the-internet.herokuapp.com/windows" }, { "role": "assistant", "content": "// Requirement: Test...
Move the horizontal slider and verify the displayed value updates
https://the-internet.herokuapp.com/horizontal_slider
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nMove the horizontal slider and verify the displayed value updates\nTarget page: https://the-internet.herokuapp.com/horizontal_slider" }, { "role": "assistant", "content": "// Requirement: Move the horiz...
Set the slider to its maximum value and verify the value shows 100
https://demoqa.com/slider
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nSet the slider to its maximum value and verify the value shows 100\nTarget page: https://demoqa.com/slider" }, { "role": "assistant", "content": "// Requirement: Set the slider to its maximum value and ...
Select a date in the date picker and verify the input shows the chosen date
https://demoqa.com/date-picker
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nSelect a date in the date picker and verify the input shows the chosen date\nTarget page: https://demoqa.com/date-picker" }, { "role": "assistant", "content": "// Requirement: Select a date in the date ...
Test selecting a date and time together in the date and time picker
https://demoqa.com/date-picker
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest selecting a date and time together in the date and time picker\nTarget page: https://demoqa.com/date-picker" }, { "role": "assistant", "content": "// Requirement: Test selecting a date and time tog...
Start the progress bar and verify it reaches 100 percent
https://demoqa.com/progress-bar
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nStart the progress bar and verify it reaches 100 percent\nTarget page: https://demoqa.com/progress-bar" }, { "role": "assistant", "content": "// Requirement: Start the progress bar and verify it reaches...
Verify the resizable box can be enlarged by dragging its corner handle
https://demoqa.com/resizable
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify the resizable box can be enlarged by dragging its corner handle\nTarget page: https://demoqa.com/resizable" }, { "role": "assistant", "content": "// Requirement: Verify the resizable box can be e...
Log in as a standard user, add the first product to the cart, and verify the cart badge shows 1
https://www.saucedemo.com
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nLog in as a standard user, add the first product to the cart, and verify the cart badge shows 1\nTarget page: https://www.saucedemo.com" }, { "role": "assistant", "content": "// Requirement: Log in as a...
Add a product to the cart, open the cart, and verify the product name and price are listed
https://www.saucedemo.com
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nAdd a product to the cart, open the cart, and verify the product name and price are listed\nTarget page: https://www.saucedemo.com" }, { "role": "assistant", "content": "// Requirement: Add a product to...
Complete a full checkout as a standard user and verify the order confirmation message
https://www.saucedemo.com
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nComplete a full checkout as a standard user and verify the order confirmation message\nTarget page: https://www.saucedemo.com" }, { "role": "assistant", "content": "// Requirement: Complete a full check...
Sort products by price low to high and verify the first product is the cheapest
https://www.saucedemo.com
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nSort products by price low to high and verify the first product is the cheapest\nTarget page: https://www.saucedemo.com" }, { "role": "assistant", "content": "// Requirement: Sort products by price low ...
Remove a product from the cart and verify the cart becomes empty
https://www.saucedemo.com
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nRemove a product from the cart and verify the cart becomes empty\nTarget page: https://www.saucedemo.com" }, { "role": "assistant", "content": "// Requirement: Remove a product from the cart and verify ...
Verify the page title and main heading of the challenging DOM page
https://the-internet.herokuapp.com/challenging_dom
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify the page title and main heading of the challenging DOM page\nTarget page: https://the-internet.herokuapp.com/challenging_dom" }, { "role": "assistant", "content": "// Requirement: Verify the page...
Check that the status codes page links to a 404 page that reports its status
https://the-internet.herokuapp.com/status_codes
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nCheck that the status codes page links to a 404 page that reports its status\nTarget page: https://the-internet.herokuapp.com/status_codes" }, { "role": "assistant", "content": "// Requirement: Check th...
Verify the shifting content menu still contains all expected menu items after reload
https://the-internet.herokuapp.com/shifting_content
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify the shifting content menu still contains all expected menu items after reload\nTarget page: https://the-internet.herokuapp.com/shifting_content" }, { "role": "assistant", "content": "// Requireme...
Test that the large and deep DOM page renders the sibling table completely
https://the-internet.herokuapp.com/large
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nTest that the large and deep DOM page renders the sibling table completely\nTarget page: https://the-internet.herokuapp.com/large" }, { "role": "assistant", "content": "// Requirement: Test that the lar...
Fill only the email field in the text box form, submit, and verify the output shows the email
https://demoqa.com/text-box
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nFill only the email field in the text box form, submit, and verify the output shows the email\nTarget page: https://demoqa.com/text-box" }, { "role": "assistant", "content": "// Requirement: Fill only t...
Submit the text box form with an invalid email format and verify the email field shows an error state
https://demoqa.com/text-box
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nSubmit the text box form with an invalid email format and verify the email field shows an error state\nTarget page: https://demoqa.com/text-box" }, { "role": "assistant", "content": "// Requirement: Sub...
Verify checkout can be cancelled and the user returns to the cart page
https://www.saucedemo.com
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nVerify checkout can be cancelled and the user returns to the cart page\nTarget page: https://www.saucedemo.com" }, { "role": "assistant", "content": "// Requirement: Verify checkout can be cancelled and...
Open the shopping cart via the cart icon and verify the cart page URL and title
https://www.saucedemo.com
[ { "role": "user", "content": "Generate a Playwright test in TypeScript for this requirement:\nOpen the shopping cart via the cart icon and verify the cart page URL and title\nTarget page: https://www.saucedemo.com" }, { "role": "assistant", "content": "// Requirement: Open the shopping cart via ...
Add a new record to the web table using the registration form and verify it appears in the table
https://demoqa.com/webtables
[ { "role": "user", "content": "Generate a Cypress test for this requirement:\nAdd a new record to the web table using the registration form and verify it appears in the table\nTarget page: https://demoqa.com/webtables" }, { "role": "assistant", "content": "// Requirement: Add a new record to the ...
Log in as a standard user, add the first product to the cart, and verify the cart badge shows 1
https://www.saucedemo.com
[ { "role": "user", "content": "Generate a Cypress test for this requirement:\nLog in as a standard user, add the first product to the cart, and verify the cart badge shows 1\nTarget page: https://www.saucedemo.com" }, { "role": "assistant", "content": "// Requirement: Add a product to the cart, o...
Add two elements then delete one and verify exactly one Delete button remains
https://the-internet.herokuapp.com/add_remove_elements/
[ { "role": "user", "content": "Generate a Cypress test for this requirement:\nAdd two elements then delete one and verify exactly one Delete button remains\nTarget page: https://the-internet.herokuapp.com/add_remove_elements/" }, { "role": "assistant", "content": "// Requirement: Add two elements...
Capture the dynamic content text, reload the page, and verify the content changed
https://the-internet.herokuapp.com/dynamic_content
[ { "role": "user", "content": "Generate a Cypress test for this requirement:\nCapture the dynamic content text, reload the page, and verify the content changed\nTarget page: https://the-internet.herokuapp.com/dynamic_content" }, { "role": "assistant", "content": "// Requirement: Capture the dynam...
Check keyboard navigation by pressing Tab from the username field and verifying focus moves to the password field
https://the-internet.herokuapp.com/login
[ { "role": "user", "content": "Generate a Cypress test for this requirement:\nCheck keyboard navigation by pressing Tab from the username field and verifying focus moves to the password field\nTarget page: https://the-internet.herokuapp.com/login" }, { "role": "assistant", "content": "// Requirem...