mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Moving nbrowser tests to grist-core
Summary: Moving bulk of nbrowser tests to core. Some tests were split and only part of them were moved. Tests that are left are either: not suitable for grist-core (like billing) or are failing during browser tests (are not reliable). Four fixtures directory (uploads, docs, exports-csv/excel) where completely moved to grist-core and are linked as folders. Those changes allows to add an nbrowser test in grist-core or in the main test folder without any need to link it or link a fixture document. Other changes: - testrun.sh has been modified, now it runs tests from both folders (test and core/test), - TestServer used in grist-core is now adding sample orgs and users (kiwi and others), Test modified - SelectionSummary: now it is run on a bigScreen, it was failing randomly - Billing.ts: relative paths were used - DateEditor: added waitForServer - it was failing in browser mode - FrozenColumns, ImportFromGDrive, Printing: updated import paths - UserManager.ts: was split into two parts (it assumed limited products) - ViewLayoutResize.ts: this test is still in main repo, it is still failing in browser mode tests Test Plan: Existing Reviewers: paulfitz Reviewed By: paulfitz Subscribers: dsagal, paulfitz Differential Revision: https://phab.getgrist.com/D3664
This commit is contained in:
1245
test/fixtures/export-csv/CCTransactions-DBA-desc.csv
vendored
Normal file
1245
test/fixtures/export-csv/CCTransactions-DBA-desc.csv
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1245
test/fixtures/export-csv/CCTransactions.csv
vendored
Normal file
1245
test/fixtures/export-csv/CCTransactions.csv
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3
test/fixtures/export-csv/choice.csv
vendored
Normal file
3
test/fixtures/export-csv/choice.csv
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
TextBox,Spinner
|
||||
foo,foo
|
||||
bar,Baz
|
||||
|
3
test/fixtures/export-csv/date.csv
vendored
Normal file
3
test/fixtures/export-csv/date.csv
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
YYYY-MM-DD,MM-DD-YYYY,MM/DD/YYYY,MM-DD-YY,MM/DD/YY,"MMMM Do, YYYY",DD-MM-YYYY,Custom YYYY-MM
|
||||
2016-12-01,12-03-2016,12/08/2016,12-13-16,12/23/16,"December 1st, 2016",08-12-2016,2016-12
|
||||
2016-12-22,12-28-2016,12/28/2016,12-11-16,12/11/16,"December 26th, 2016",25-12-2016,2016-11
|
||||
|
3
test/fixtures/export-csv/datetime.csv
vendored
Normal file
3
test/fixtures/export-csv/datetime.csv
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
h:mma,h:mma z,HH:mm,HH:mm z,HH:mm:ss,HH:mm:ss z
|
||||
2016-12-08 7:00pm,2016-12-01 11:08pm WAT,2016-12-09 00:00,2016-12-28 03:00 -02,2016-12-08 13:33:00,2016-12-08 12:45:12 EST
|
||||
2016-12-29 5:07am,2016-12-29 4:00am WAT,2016-12-31 08:00,2016-12-06 21:00 -02,2016-12-07 13:33:55,2016-12-28 10:52:34 EST
|
||||
|
4
test/fixtures/export-csv/field-options.csv
vendored
Normal file
4
test/fixtures/export-csv/field-options.csv
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Text Formula,MM-DD-YY
|
||||
a,04-14-17
|
||||
"b ,d",04-03-17
|
||||
a,05-15-17
|
||||
|
4
test/fixtures/export-csv/filtered-ref-list.csv
vendored
Normal file
4
test/fixtures/export-csv/filtered-ref-list.csv
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
A,B
|
||||
"John, Bob",John
|
||||
"Bob, Alice",Alice
|
||||
Bob,
|
||||
|
3
test/fixtures/export-csv/filters-manual.csv
vendored
Normal file
3
test/fixtures/export-csv/filters-manual.csv
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
Color,Place,Height
|
||||
yellow,springfield,100
|
||||
red,cambridge,200
|
||||
|
4
test/fixtures/export-csv/filters-saved.csv
vendored
Normal file
4
test/fixtures/export-csv/filters-saved.csv
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Color,Place,Height
|
||||
green,kansas,50
|
||||
green,earth,75
|
||||
yellow,springfield,100
|
||||
|
4
test/fixtures/export-csv/hidden-text.csv
vendored
Normal file
4
test/fixtures/export-csv/hidden-text.csv
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Id is Baz Label is this,Formula,Foo,Link
|
||||
hello,a --- grist https://www.getgrist.com/,1,grist https://www.getgrist.com/
|
||||
world,"b ,d --- https://www.getgrist.com/",2,https://www.getgrist.com/
|
||||
,"the ""quote marks"" ? --- ",3,
|
||||
|
3
test/fixtures/export-csv/integer.csv
vendored
Normal file
3
test/fixtures/export-csv/integer.csv
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
TextBox,Spinner
|
||||
500,foo
|
||||
200,4
|
||||
|
4080
test/fixtures/export-csv/many-rows.csv
vendored
Normal file
4080
test/fixtures/export-csv/many-rows.csv
vendored
Normal file
File diff suppressed because it is too large
Load Diff
4
test/fixtures/export-csv/numeric.csv
vendored
Normal file
4
test/fixtures/export-csv/numeric.csv
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
TextBox,Spinner,OneDecimal
|
||||
1.33,5000,700.6
|
||||
2.01,0,0.55
|
||||
400.00,2000.55,0.0
|
||||
|
6
test/fixtures/export-csv/order-color-desc.csv
vendored
Normal file
6
test/fixtures/export-csv/order-color-desc.csv
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
Color,Place,Height
|
||||
yellow,zoo,88
|
||||
yellow,springfield,100
|
||||
red,cambridge,200
|
||||
green,kansas,50
|
||||
green,earth,75
|
||||
|
6
test/fixtures/export-csv/order-color-manual.csv
vendored
Normal file
6
test/fixtures/export-csv/order-color-manual.csv
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
Color,Place,Height
|
||||
green,kansas,50
|
||||
green,earth,75
|
||||
red,cambridge,200
|
||||
yellow,zoo,88
|
||||
yellow,springfield,100
|
||||
|
6
test/fixtures/export-csv/order-color-place.csv
vendored
Normal file
6
test/fixtures/export-csv/order-color-place.csv
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
Color,Place,Height
|
||||
green,earth,75
|
||||
green,kansas,50
|
||||
red,cambridge,200
|
||||
yellow,springfield,100
|
||||
yellow,zoo,88
|
||||
|
6
test/fixtures/export-csv/order-manual.csv
vendored
Normal file
6
test/fixtures/export-csv/order-manual.csv
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
Color,Place,Height
|
||||
green,kansas,50
|
||||
green,earth,75
|
||||
yellow,zoo,88
|
||||
yellow,springfield,100
|
||||
red,cambridge,200
|
||||
|
4
test/fixtures/export-csv/reference.csv
vendored
Normal file
4
test/fixtures/export-csv/reference.csv
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Text Bar,Int Text,Text Formula
|
||||
"the ""quote marks"" ?",Integer[500],a --- grist https://www.getgrist.com/
|
||||
"b ,d",Integer[200],"b ,d --- https://www.getgrist.com/"
|
||||
"the ""quote marks"" ?",,a --- grist https://www.getgrist.com/
|
||||
|
4
test/fixtures/export-csv/text.csv
vendored
Normal file
4
test/fixtures/export-csv/text.csv
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Foo,Bar,Id is Baz Label is this,Link,Formula
|
||||
1,a,hello,grist https://www.getgrist.com/,a --- grist https://www.getgrist.com/
|
||||
2,"b ,d",world,https://www.getgrist.com/,"b ,d --- https://www.getgrist.com/"
|
||||
3,"the ""quote marks"" ?",,,"the ""quote marks"" ? --- "
|
||||
|
3
test/fixtures/export-csv/toggle.csv
vendored
Normal file
3
test/fixtures/export-csv/toggle.csv
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
TextBox,CheckBox
|
||||
true,false
|
||||
false,true
|
||||
|
Reference in New Issue
Block a user