Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot create property 'Symbol(step)' on string 'An unknown error occurred.' #41

Open
LuciaMarcosGS opened this issue Apr 25, 2024 · 1 comment

Comments

@LuciaMarcosGS
Copy link

When I run the tests I get the following error: TypeError: Cannot create property 'Symbol(step)' on string 'An unknown error occurred.'

I have followed the three setup steps. I don't know what's happening.

@IAMMICHAELNBD
Copy link

I am also experiencing the same issue, using the below test from the installation guide.

`import { test } from '@playwright/test'
import { ai } from '@zerostep/playwright'

test('test', async ({ page }) => {
await page.goto('https://zerostep.com/')

// An object with page and test must be passed into every call
const aiArgs = { page, test }
const headerText = await ai('Get the header text', aiArgs)
await page.goto('https://google.com/')
await ai(Type "${headerText}" in the search box, aiArgs)
await ai('Press enter', aiArgs)
})`

Test Results
` 1) [chromium] › main.spec.ts:6:5 › test ──────────────────────────────────────────────────────────

TypeError: Cannot create property 'Symbol(step)' on string 'An unknown error occurred.'`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants