From 6359bc1e2c6bf9d628f9e68ae1b1fd84c25ce2ea Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 24 Apr 2026 16:47:02 +0200 Subject: [PATCH] test: use waitForUrl(full URL) instead of waitForPath(path) charlie's waitForPath was renamed to waitForUrl and now takes a full URL for consistency with goto/currentUrl. Made-with: Cursor --- test/test-results.xml | 2 ++ test/test.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 test/test-results.xml diff --git a/test/test-results.xml b/test/test-results.xml new file mode 100644 index 0000000..42d5a58 --- /dev/null +++ b/test/test-results.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/test/test.js b/test/test.js index b6938f2..e7ec5cc 100755 --- a/test/test.js +++ b/test/test.js @@ -20,7 +20,7 @@ import { teardownBrowser, username, waitForElement, - waitForPath + waitForUrl } from '@cloudron/charlie'; /* global it, describe, before, after, afterEach */ @@ -108,7 +108,7 @@ describe('Application life cycle test', function () { await sendKeys('#repo_name', reponame); await click('#auto-init'); await click('//button[contains(text(), "Create Repository")]'); - await waitForPath(`/${username}/${reponame}`); + await waitForUrl(`https://${app.fqdn}/${username}/${reponame}`); } function cloneRepo() {