創(chuàng)建項(xiàng)目并上傳到GitLab
npm init playwright@latest test-playwright
# 一路enter
cd test-playwright
# 運(yùn)行測試用例
npx playwright test
文章來源地址http://www.zghlxwxcb.cn/news/detail-726228.html
常用指令
# Runs the end-to-end tests.
npx playwright test
# Starts the interactive UI mode.
npx playwright
文章來源:http://www.zghlxwxcb.cn/news/detail-726228.html
到了這里,關(guān)于使用GitLab CI/CD 定時(shí)運(yùn)行Playwright自動(dòng)化測試用例的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!