Skip to content

Commit

Permalink
0.0.849
Browse files Browse the repository at this point in the history
  • Loading branch information
bahrus committed Nov 10, 2024
1 parent 6087581 commit 80feb33
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 4 additions & 2 deletions test-results/.last-run.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"status": "passed",
"failedTests": []
"status": "failed",
"failedTests": [
"d34d07fb06b132861853-be21fd824f731a3f5b24"
]
}
1 change: 0 additions & 1 deletion tests/XV/SetSessionStorage.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

const test2 = await set('sessionStorage://c?.a', 'd');
const test3 = await get('sessionStorage://c?.a');
//console.log({test2});
if(test3 === 'd'){
target.setAttribute('mark', 'good');
}
Expand Down
9 changes: 9 additions & 0 deletions tests/XV/SetSessionStorage.spec.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { test, expect } from '@playwright/test';

test('GetSessionStorage', async ({ page }) => {
await page.goto('./tests/XV/SetSessionStorage.html');
// wait for 1 second
await page.waitForTimeout(1000);
const editor = page.locator('#target');
await expect(editor).toHaveAttribute('mark', 'good');
});

0 comments on commit 80feb33

Please sign in to comment.