Skip to content

[BUG]: Tests are marked as executed on windows despite being set to run on linux #140

@AdamOakman

Description

@AdamOakman

Describe the bug
Tests are marked in Playwright portal as executed on windows despite being set to run on linux in playwright.service.config.ts

To Reproduce
Steps to reproduce the behavior:

  1. Execute any spec file on Playwright Testing Service with Linux as desired OS to run browsers on
  2. See error

Expected behavior
Tests should be executed on Linux and information in Playwright portal should confirm it correctly

Screenshots
Image

Additional context
playwright.service.config.ts

import { getServiceConfig, ServiceOS } from '@azure/microsoft-playwright-testing';
import { defineConfig } from '@playwright/test';
import config from './playwright.config';
import dotenv from 'dotenv';

dotenv.config({ override: true });

/* Learn more about service configuration at https://aka.ms/mpt/config */
export default defineConfig(
    config,
    getServiceConfig(config, {
        useCloudHostedBrowsers: true,
        serviceAuthType: 'ACCESS_TOKEN',
        exposeNetwork: '<loopback>',
        timeout: 30000,
        os: ServiceOS.LINUX
    }),
    {
        workers: 25,
        reporter: [
            ['@azure/microsoft-playwright-testing/reporter'],
            ['list']
        ]
    }
);

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions