Skip to content

Commit e71c618

Browse files
authored
Merge branch 'main' into fix/268-hover-complex-expressions
2 parents 2f5819f + e4be811 commit e71c618

File tree

4 files changed

+55
-22
lines changed

4 files changed

+55
-22
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,9 @@ jobs:
120120
if: failure()
121121
with:
122122
name: screenshots-${{ matrix.os }}
123-
path: ./rascal-vscode-extension/uitests/**/screenshots/*.png
123+
path: ./rascal-vscode-extension/uitests/screenshots/**/*.png
124124
retention-days: 5
125+
if-no-files-found: error
125126

126127
- name: "cleanup before cache"
127128
shell: bash

rascal-vscode-extension/package-lock.json

Lines changed: 49 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rascal-vscode-extension/src/test/vscode-suite/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ export class IDEOperations {
297297
}
298298

299299
async openModule(file: string): Promise<TextEditor> {
300-
this.browser.openResources(file); // intentionally not waiting, since it sleeps for 3s without anything happening
300+
await this.browser.openResources(file);
301301
return this.driver.wait(async () => {
302302
const result = await ignoreFails(new Workbench().getEditorView().openEditor(path.basename(file))) as TextEditor;
303303
if (result && await ignoreFails(result.getTitle()) === path.basename(file)) {

runUItests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# !/bin/sh
1+
#!/bin/sh
22

33
# This documents (and performs) necessary commands for local UI testing.
44
# Experts might run these manually on demand. For example, repeatedly
@@ -20,9 +20,9 @@ rm -rf $UITESTS || true
2020
npm run compile-tests
2121

2222
# test what was compiled
23-
VSCODE_VERSION=`grep '"vscode":' package.json | awk -F\^ '{ print $2 }' | awk -F\" '{ print $1 }'`
23+
VSCODE_VERSION=$(grep '"vscode":' package.json | awk -F^ '{ print $2 }' | awk -F\" '{ print $1 }')
2424
echo "Running tests with VSCode version $VSCODE_VERSION"
2525
exec npx extest setup-and-run out/test/vscode-suite/*.test.js \
26-
--code_version ${VSCODE_VERSION} \
26+
--code_version "${VSCODE_VERSION}" \
2727
--storage $UITESTS \
2828
--extensions_dir $UITESTS/extensions_dir

0 commit comments

Comments
 (0)