Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions inc/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1415,6 +1415,9 @@ private function localize_dashboard_app() {
}
$api_key = $this->settings->get( 'api_key' );
$service_data = $this->settings->get( 'service_data' );
if ( ! is_array( $service_data ) ) {
$service_data = [];
}
$user = get_userdata( get_current_user_id() );
$user_status = 'inactive';
$auto_connect = get_option( Optml_Settings::OPTML_USER_EMAIL, 'no' );
Expand Down
3 changes: 2 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ import { defineConfig } from '@playwright/test';

export default defineConfig({
testDir: './tests/e2e',
timeout: 30000,
timeout: 60000,
workers: process.env.CI ? 2 : 5,
retries: process.env.CI ? 2 : 0,
use: {
baseURL: 'http://testing.optimole.com', // Replace with your local WordPress URL
trace: 'on-first-retry',
navigationTimeout: 45000,
},
projects: [
{
Expand Down
Loading