Skip to content

Commit 1647b30

Browse files
committed
wip
1 parent 5187353 commit 1647b30

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ jobs:
3333
--health-interval=10s
3434
--health-timeout=5s
3535
--health-retries=5
36+
web:
37+
image: dunglas/frankenphp:1.9-php-${{ matrix.php }}
38+
ports:
39+
- "8100:80"
3640

3741
env:
3842
WP_VERSION: ${{ matrix.wordpress }}

tests/Browser/PluginSettingsTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
const INACTIVE_ADMIN_COMMENT = '<!-- Simple Analytics: Not logging requests from admins -->';
1010
const NOSCRIPT_SELECTOR = 'noscript img[src="https://queue.simpleanalyticscdn.com/noscript.gif"][alt=""][referrerpolicy="no-referrer-when-downgrade"]';
1111

12+
it('smthg',function (){
13+
visit('http://localhost:8100')->withLocale('en-GB');
14+
});
15+
16+
/*
1217
it('can be activated', function () {
1318
asAdmin()
1419
->navigate('http://localhost:8100/wp-admin/plugins.php')
@@ -195,4 +200,4 @@
195200
->assertValue('simpleanalytics_custom_domain', 'mydomain.com');
196201
197202
visit('http://localhost:8100')->assertPresent('script[src="https://mydomain.com/latest.js"]');
198-
});
203+
});*/

0 commit comments

Comments
 (0)