You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# login to sauce demo, extract the items info into a json file, and assert the price of 'Sauce Labs Fleece Jacket'
target:
url: https://www.saucedemo.com/
output: ./output/sauce-demo-items.json
bridgeMode: newTabWithUrl
tasks:
- name: login
flow:
- aiAct: type 'standard_user' in user name input, type 'secret_sauce' in password, click 'Login'
- name: extract items info
flow:
- aiQuery: >
{name: string, price: number, actionBtnName: string}[], return item name, price and the action button name on the lower right corner of each item (like 'Remove')
name: items
- aiAssert: The price of 'Sauce Labs Fleece Jacket' is 49.99