Skip to content
Draft
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
6 changes: 2 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
ui-test:
strategy:
matrix:
os: [ubicloud-standard-4, windows-latest, macos-latest]
os: [ubicloud-standard-4-ubuntu-2204, windows-latest, macos-latest]
fail-fast: true
env:
CODE_VERSION: "1.90.2"
Expand Down Expand Up @@ -116,9 +116,7 @@ jobs:
DELAY_FACTOR: 8
RASCAL_LSP_DEV_DEPLOY: true
_JAVA_OPTIONS: '-Xmx5G' # we have 16gb of memory, make sure LSP, REPL & DSL-LSP can start
run: |
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 # workaround for issue with Ubuntu 24.04 https://github.com/redhat-developer/vscode-extension-tester/blob/main/KNOWN_ISSUES.md#openresources-not-working-with-apparmor-2404
xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' npx extest setup-and-run out/test/vscode-suite/*.test.js --storage uitests
run: xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' npx extest setup-and-run out/test/vscode-suite/*.test.js --storage uitests

- name: Upload Screenshots
uses: actions/upload-artifact@v7
Expand Down
3 changes: 1 addition & 2 deletions rascal-vscode-extension/src/test/vscode-suite/dsl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,7 @@ end
const editor = await ide.openModule(TestWorkspace.picoFile);
await editor.moveCursor(5, 6);

ide.renameSymbol(editor, bench, "z");

await ide.renameSymbol(editor, bench, "z");
await driver.wait(() => (editor.isDirty()), Delays.extremelySlow, "Rename should have resulted in changes in the editor");

const editorText = await editor.getText();
Expand Down
3 changes: 1 addition & 2 deletions rascal-vscode-extension/src/test/vscode-suite/ide.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ describe('IDE', function () {
const checkRascalStatus = ide.statusContains("Loading Rascal");
await driver.wait(async () => !(await checkRascalStatus()), Delays.extremelySlow, "Rascal evaluators have not finished loading");

ide.renameSymbol(editor, bench, "i");

await ide.renameSymbol(editor, bench, "i");
await driver.wait(() => (editor.isDirty()), Delays.extremelySlow, "Rename should have resulted in changes in the editor");

const editorText = await editor.getText();
Expand Down
1 change: 1 addition & 0 deletions rascal-vscode-extension/src/test/vscode-suite/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ export class IDEOperations {
}
catch (e) {
console.log("Rename failed to succeed, lets try again");
console.error(e);
await this.screenshot(`DSL-failed-rename-round-${tries}`);
tries++;
}
Expand Down
Loading