testdriverai 6.0.28 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,37 @@
1
+ version: 6.0.28
2
+ session: 68c7044dc65164d6ea5e5970
3
+ steps:
4
+ - prompt: Focus the browser window.
5
+ commands:
6
+ - command: focus-application
7
+ name: Google Chrome
8
+ - prompt: Enter "locked_out_user" as the username.
9
+ commands:
10
+ - command: hover-text
11
+ text: Username
12
+ description: Username label above the username input field on the login form
13
+ action: click
14
+ - command: type
15
+ text: locked_out_user
16
+ - prompt: Enter "secret_password" as the password.
17
+ commands:
18
+ - command: hover-text
19
+ text: Password
20
+ description: Password label above the password input field on the login form
21
+ action: click
22
+ - command: type
23
+ text: secret_password
24
+ - prompt: Click the "Sign in" button.
25
+ commands:
26
+ - command: hover-text
27
+ text: Sign in
28
+ description: black Sign in button below the password input field on the login form
29
+ action: click
30
+ - prompt: >-
31
+ Assert that an error message is displayed indicating the user is locked
32
+ out.
33
+ commands:
34
+ - command: assert
35
+ expect: >-
36
+ an error message is displayed with the text "This user has been locked
37
+ out"
@@ -0,0 +1,37 @@
1
+ version: 6.0.28
2
+ session: 68c70444c65164d6ea5e5967
3
+ steps:
4
+ - prompt: Focus the browser window.
5
+ commands:
6
+ - command: focus-application
7
+ name: Google Chrome
8
+ - prompt: Enter "standard_user" as the username.
9
+ commands:
10
+ - command: hover-text
11
+ text: Username
12
+ description: label above the username input field on the login form
13
+ action: click
14
+ - command: type
15
+ text: standard_user
16
+ - prompt: Enter "secret_password" as the password.
17
+ commands:
18
+ - command: hover-text
19
+ text: Password
20
+ description: label above the password input field on the login form
21
+ action: click
22
+ - command: type
23
+ text: secret_password
24
+ - prompt: Click the "Sign in" button.
25
+ commands:
26
+ - command: hover-text
27
+ text: Sign in
28
+ description: black button below the password field on the login form
29
+ action: click
30
+ - prompt: >-
31
+ Assert that login is successful and user is navigated to the main shop
32
+ page.
33
+ commands:
34
+ - command: assert
35
+ expect: >-
36
+ the main shop page with the heading "TestDriver.ai Sandbox" and
37
+ product listings is visible, confirming successful login
@@ -0,0 +1,36 @@
1
+ version: 6.0.28
2
+ session: 68c70449c65164d6ea5e596b
3
+ steps:
4
+ - prompt: Log in as "standard_user" with password "secret_password".
5
+ commands:
6
+ - command: focus-application
7
+ name: Google Chrome
8
+ - command: hover-text
9
+ text: Username
10
+ description: Username label above the first input field on the login form
11
+ action: click
12
+ - command: type
13
+ text: standard_user
14
+ - command: press-keys
15
+ keys:
16
+ - tab
17
+ - command: type
18
+ text: secret_password
19
+ - command: hover-text
20
+ text: Sign in
21
+ description: Black "Sign in" button below the password field
22
+ action: click
23
+ - prompt: Locate and click the "Logout" button or menu option after login.
24
+ commands:
25
+ - command: focus-application
26
+ name: Google Chrome
27
+ - command: hover-text
28
+ text: Logout
29
+ description: Logout button in the top right corner of the header next to Cart
30
+ action: click
31
+ - prompt: Assert that the user is redirected to the login page and is logged out.
32
+ commands:
33
+ - command: assert
34
+ expect: >-
35
+ The login page with 'TestDriver.ai Sandbox' is visible and the user is
36
+ logged out
@@ -1,8 +1,7 @@
1
- version: 5.1.1
2
- session: 67f00511acbd9ccac373edf7
1
+ version: 6.0.0
3
2
  steps:
4
3
  - prompt: stop dashcam
5
4
  commands:
6
5
  - command: exec
7
6
  lang: pwsh
8
- code: dashcam -t '${TD_THIS_FILE}' -p
7
+ code: dashcam -t 'Web Test Recording' -p
@@ -1,7 +1,6 @@
1
1
  version: 6.0.0
2
- session: 67f00511acbd9ccac373edf7
3
2
  steps:
4
- - prompt: start dashcam
3
+ - prompt: launch chrome
5
4
  commands:
6
5
  - command: exec
7
6
  lang: pwsh
@@ -9,3 +8,10 @@ steps:
9
8
  - command: exec
10
9
  lang: pwsh
11
10
  code: dashcam start
11
+ - command: exec
12
+ lang: pwsh
13
+ code: |
14
+ Start-Process "C:/Program Files/Google/Chrome/Application/chrome.exe" -ArgumentList "--start-maximized", "--guest", "https://testdriver-sandbox.vercel.app/login"
15
+ - command: wait-for-text
16
+ text: "TestDriver.ai Sandbox"
17
+ timeout: 60000
@@ -1,12 +0,0 @@
1
- version: 5.1.1
2
- session: 67f00511acbd9ccac373edf7
3
- steps:
4
- - prompt: launch chrome
5
- commands:
6
- - command: exec
7
- lang: pwsh
8
- code: |
9
- Start-Process "C:\Program Files\Google\Chrome\Application\chrome.exe" -ArgumentList "--start-maximized --disable-infobars --disable-fre --no-default-browser-check --no-first-run --guest --load-extension=$(pwd)/node_modules/dashcam-chrome/build", "https://testdriver-sandbox.vercel.app/"
10
- - command: wait-for-text
11
- text: ${TD_WEBSITE}
12
- timeout: 60000