Для мобільного додатку
Integrate your WebdriverIO tests with App Percy
Before integration, you can explore App Percy's sample build tutorial for WebdriverIO. Integrate your test suite with BrowserStack App Percy and here's an overview of the integration steps:
Step 1: Створення нового проєкту додатку на панелі Percy
Sign in to Percy and create a new app type project. After you've created the project, you'll be shown a PERCY_TOKEN
environment variable. Percy will use the PERCY_TOKEN
to know which organisation and project to upload the screenshots to. You will need this PERCY_TOKEN
in next steps.
Step 2: Встановлення токену проєкту як змінної середовища
Run the given command to set PERCY_TOKEN as an environment variable:
export PERCY_TOKEN="<your token here>" // macOS or Linux
$Env:PERCY_TOKEN="<your token here>" // Windows PowerShell
set PERCY_TOKEN="<your token here>" // Windows CMD
Step 3: Встановлення пакетів Percy
Install the components required to establish the integration environment for your test suite. To install the dependencies, run the following command:
npm install --save-dev @percy/cli