(core) updates from grist-core

This commit is contained in:
Paul Fitzpatrick
2022-10-04 13:22:17 -04:00
19 changed files with 212 additions and 11 deletions

View File

@@ -0,0 +1 @@
import "test/nbrowser/ActionLog";

View File

@@ -0,0 +1 @@
import "test/nbrowser/ChoiceList";

View File

@@ -0,0 +1 @@
import "test/nbrowser/DuplicateDocument";

1
test/deployment/Fork.ts Normal file
View File

@@ -0,0 +1 @@
import "test/nbrowser/Fork";

View File

@@ -0,0 +1 @@
import "test/nbrowser/HomeIntro";

1
test/deployment/Pages.ts Normal file
View File

@@ -0,0 +1 @@
import "test/nbrowser/Pages";

View File

@@ -0,0 +1,4 @@
# Deployment tests
Link or import here all tests that can be run against an external server or
a docker container (i.e: tests that don't rely on in-memory TestServer).

View File

@@ -0,0 +1 @@
import "test/nbrowser/ReferenceColumns";

View File

@@ -0,0 +1 @@
import "test/nbrowser/ReferenceList";

1
test/deployment/Smoke.ts Normal file
View File

@@ -0,0 +1 @@
import "test/nbrowser/Smoke";

View File

@@ -117,7 +117,10 @@ describe("Localization", function() {
});
});
it("breaks the server if something is wrong with resource files", async () => {
it("breaks the server if something is wrong with resource files", async function() {
if (server.isExternalServer()) {
this.skip();
}
const oldEnv = new testUtils.EnvironmentSnapshot();
try {
// Wrong path to locales.

View File

@@ -64,4 +64,4 @@ TEST_ADD_SAMPLES=1 TEST_ACCOUNT_PASSWORD=not-needed \
GRIST_SESSION_COOKIE=grist_test_cookie \
GRIST_TEST_LOGIN=1 \
NODE_PATH=_build:_build/stubs \
$MOCHA _build/test/nbrowser/*.js -g ${GREP_TESTS:-''} "$@"
$MOCHA _build/test/deployment/*.js --slow 6000 -g ${GREP_TESTS:-''} "$@"