Skip to content

Commit 4cf8750

Browse files
committed
wip
1 parent 461f811 commit 4cf8750

File tree

5 files changed

+6
-129
lines changed

5 files changed

+6
-129
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
3434
env:
3535
WP_VERSION: ${{ matrix.wordpress }}
36-
WP_SITE_URL: http://localhost:8888
36+
WP_SITE_URL: http://localhost:8100
3737
WP_DB_NAME: wordpress
3838
WP_DB_USER: root
3939
WP_DB_PASS: root
@@ -100,7 +100,7 @@ jobs:
100100
101101
- name: Start PHP server
102102
run: |
103-
php -S localhost:8888 -t wordpress > /dev/null 2>&1 &
103+
php -S localhost:8100 -t wordpress > /dev/null 2>&1 &
104104
sleep 5
105105
106106
- name: Install pnpm

playwright.config.ts

Lines changed: 0 additions & 81 deletions
This file was deleted.

tests-examples/demo-todo-app.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ test.describe('New Todo', () => {
5656

5757
// create a todo count locator
5858
const todoCount = page.getByTestId('todo-count')
59-
59+
6060
// Check test using different methods.
6161
await expect(page.getByText('3 items left')).toBeVisible();
6262
await expect(todoCount).toHaveText('3 items left');
@@ -260,7 +260,7 @@ test.describe('Counter', () => {
260260
test('should display the current number of todo items', async ({ page }) => {
261261
// create a new todo locator
262262
const newTodo = page.getByPlaceholder('What needs to be done?');
263-
263+
264264
// create a todo count locator
265265
const todoCount = page.getByTestId('todo-count')
266266

@@ -350,7 +350,7 @@ test.describe('Routing', () => {
350350
});
351351

352352
test('should respect the back button', async ({ page }) => {
353-
const todoItem = page.getByTestId('todo-item');
353+
const todoItem = page.getByTestId('todo-item');
354354
await page.getByTestId('todo-item').nth(1).getByRole('checkbox').check();
355355

356356
await checkNumberOfCompletedTodosInLocalStorage(page, 1);
@@ -393,7 +393,7 @@ test.describe('Routing', () => {
393393

394394
test('should highlight the currently applied filter', async ({ page }) => {
395395
await expect(page.getByRole('link', { name: 'All' })).toHaveClass('selected');
396-
396+
397397
//create locators for active and completed links
398398
const activeLink = page.getByRole('link', { name: 'Active' });
399399
const completedLink = page.getByRole('link', { name: 'Completed' });

tests/helpers/login.ts

Lines changed: 0 additions & 29 deletions
This file was deleted.

tests/wordpress.spec.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)