mirror of
https://github.com/penpot/penpotqa.git
synced 2024-07-06 04:51:46 +00:00
test integration
This commit is contained in:
parent
8f4fbce1f7
commit
0fd2b262ed
2
.github/workflows/playwright_pre.yml
vendored
2
.github/workflows/playwright_pre.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
|||
LOGIN_EMAIL: ${{ secrets.LOGIN_EMAIL }}
|
||||
LOGIN_PWD: ${{ secrets.LOGIN_PWD }}
|
||||
GITHUB_RUN_ID: ${{ github.run.id }}
|
||||
run: npx playwright test --project=chrome -gv 'PERF'
|
||||
run: npx playwright test --project=chrome -gv 'PERF' ./tests/panels-features/panels-features-fill.spec.js
|
||||
- name: Upload Playwright Report
|
||||
uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
|
|
|
@ -5,11 +5,11 @@ const { readResultsFromFile } = require('./saveTestResults');
|
|||
|
||||
|
||||
const baseUrl = 'https://chat.kaleidos.net/api/v4';
|
||||
const channel_id = process.env.CHANNEL_ID;
|
||||
const channel_id = `${process.env.CHANNEL_ID}`;
|
||||
|
||||
async function getToken() {
|
||||
const url = `${baseUrl}/users/login`;
|
||||
const requestBody = {"login_id":process.env.LOGIN_ID_MATTERMOST,"password":process.env.PASSWORD_MATTERMOST};
|
||||
const requestBody = {"login_id":`${process.env.LOGIN_ID_MATTERMOST}`,"password":`${process.env.PASSWORD_MATTERMOST}`};
|
||||
|
||||
try {
|
||||
const response = await axios.post(url, requestBody, {
|
||||
|
|
Loading…
Reference in New Issue
Block a user