Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zoobestik committed Oct 25, 2024
1 parent 2b23667 commit 5cdc352
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/basics.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ test.describe('basics', () => {
await expect(editor.locator(OPEN_EDITOR_SELECTOR)).toHaveCount(1); // open on play-link exists
await expect(editor.locator(TARGET_SELECTOR)).toHaveText('Target: JVM'); // default target JVM
await expect(editor.locator(VERSION_SELECTOR)).toHaveText(
'Running on v.1.8.21', // latest version marker
'Running on v.1.9.20', // latest version marker
);

// Take screen fullpage, for sure original node should be invisible
Expand Down Expand Up @@ -107,7 +107,7 @@ export function checkPrintlnCase(
page: Page,
editor: Locator,
text: string,
platform: string = 'jvm',
platform: string = 'java',
) {
const source = toPostData(printlnCode(text));
const postData = `{"args":"","files":[{"name":"File.kt","text":"${source}","publicId":""}],"confType":"${platform}"}`;
Expand Down
2 changes: 1 addition & 1 deletion tests/crosslink.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test.describe('open in playground', () => {
const link = editor.locator(OPEN_EDITOR_SELECTOR).locator('a[href]');

const url =
'https://play.kotlinlang.org/editor/v1/N4Igxg9gJgpiBcIBmBXAdgAgLYEMCWaAFAJQbAA6mG1ADgE4EAuANkeSABIzPMQA0GAO4Q6zKAEJ2xStQC%2BIPiEY46AcxiMACsxyMkIrAhAArHADccC8BCw08zGHQBqjgM54IaIwEYAdAA5fACZvEFkgA%3D%3D%3D';
'https://play.kotlinlang.org/editor/v1/N4Igxg9gJgpiBcIBmBXAdgAgLYEMCWaAFAJQbAA6mG1ADgE4EAuANkeSABIzPMQA0GAO4Q6zKAEJ2xStQC%2BIPiEY46AcxiMACsxyMkIrAhAArHADccC8BCw08zGHQBqjgM54IaIwEYAdAE5fACYABhBZIA%3D%3D';

await Promise.all([
expect(link).toHaveCount(1),
Expand Down

0 comments on commit 5cdc352

Please sign in to comment.