Mitch-Budibase
eb31242b20
Updated PostgreSQL & Oracle Tests
...
PostgreSQL
- Test fixes (May still fail due to connection issues on smoke build)
Oracle
- Test fixes
- Skipping most tests (Oracle host needs configured)
commands.spec.js
- minor change to addDatasourceConfig function
2022-04-13 15:54:40 +01:00
Mitch-Budibase
761ac69783
lint
2022-04-12 17:33:17 +01:00
Mitch-Budibase
85b1a594ea
Updated deleteApp function
...
Added a check for app name, function returns if app does not exist, rather than trying to delete
2022-04-12 15:59:12 +01:00
Dean
f8f311f924
Test updates for screen creation
2022-04-08 09:56:20 +01:00
Dean
09defee462
Formatting for command
2022-04-07 12:23:19 +01:00
Dean
73a7fdabaa
Minor test updates and formatting
2022-04-07 12:22:16 +01:00
Mitch-Budibase
80e94d13d9
lint
2022-04-01 14:41:45 +01:00
Mitch-Budibase
db0b6f8441
Changing test structure when searching for applications
...
Search functionality is not available when only 1 app exists - Updating to reflect this
2022-04-01 14:37:11 +01:00
Mitch-Budibase
9ffd278d80
Changes to renameAnApplication & createUserAndRoles
...
renameAnApplication - changing the navigation to a direct URL rather than clicking the home logo button
createUserAndRoles - Removing the After action (now supports correct flow of tests)
2022-04-01 13:15:06 +01:00
Mitch-Budibase
5525859ba7
Adding and increasing wait times surrounding renameAnApplication.spec.js
...
Passes locally but looks like a timing issue when run against the CI.
Adding and increasing wait times to hopefully combat this. I will extend further if unsuccessful
2022-04-01 12:05:31 +01:00
Mitch-Budibase
69d6dbc23a
Updating tests to work with test Env
...
I've made some changes to the tests and commands file to allow for the tests to run within the Test env after the latest round of UI changes.
Some of these changes also allow for testing instances in which apps already exist - This is specific for the test env, the CI runs always have a clean instance
2022-04-01 11:31:18 +01:00
Dean
6164b4d574
Cypress test fixes and refactoring around the create app workflows
2022-03-28 23:21:38 +01:00
Andrew Kingston
e4b2884ca7
Update cypress tests for different button casing
2022-03-08 08:46:07 +00:00
Mitch-Budibase
92eb199c86
Merge pull request #4751 from Budibase/cypress-testing
...
Changes for Table test - Commands.js
2022-03-01 12:15:44 +00:00
Peter Clement
9931deceba
Merge pull request #4638 from Budibase/feature/table-row-selection
...
Allow selection of rows from table component
2022-03-01 12:03:24 +00:00
Mitch-Budibase
4906dc6337
Changes for Table test - Commands.js
...
Seems like a potential timing issue for the Create Table test
Specifically:
-The datasource modal looks to be sometimes delayed when appearing after app creation
--increasing wait time for after app creation
--Reducing wait within the createTable command
--Updating specific ID to use 'data-cy'
--Updating another ID for the data source modal
I am unable to reproduce this potential issue locally, so making changes in hopes the CI picks it up (if the timing issue still exists)
2022-03-01 11:49:40 +00:00
Andrew Kingston
02c688539a
Pls cypress
2022-02-25 16:24:36 +00:00
Andrew Kingston
63e64f0da1
Try to fix cypress tests again
2022-02-25 13:40:23 +00:00
Mitch-Budibase
688a770b59
Updates/Fixes based on previous test run
...
General test fixes/updates
-Removed createUser.spec.js - Covered by another file
-Skiipping two tests within queryLevelTransformer
2022-02-18 17:59:33 +00:00
Mitch-Budibase
b5a9329695
AutoScreens Test update
...
increasing wait time for createAutogeneratedScreens command
-associated with auto screens tests
2022-01-21 18:40:32 +00:00
Mitch-Budibase
85003f5b9c
Lint
...
ignoring lint for entire query support files, rather than just ignoring a specific line
2022-01-21 17:50:16 +00:00
Mitch-Budibase
220ee31b02
Updates to query files
...
queryLevelTransformerFunction
-adding eslint-disable-next-line
queryLevelTransformerFunctionWithData
-adding eslint-disable-next-line
-Removing const stateCode - not required
2022-01-21 17:38:22 +00:00
Mitch-Budibase
a49c2d2200
Oracle & Table pagination Test Env Only
...
createTable
-Pagination is now Test Env only
oracle
-Test Env only
-Removed smoke test tag
commands
-Fix for createApp command
-Increase wait for createRestQuery command
2022-01-21 17:28:33 +00:00
Mitch-Budibase
863abdb4b3
Commands Update & Query Files
...
-Updating Commands file to include all recent changes
-Added query files (2 of them) - required for query level transformers testing
-Cypress.json updated to remove "/builder/"
-Updating cypress version in package.json
-Missing }) within addmultioptiondatatype.spec.js
2022-01-21 14:41:53 +00:00
mike12345567
0990a1df2f
Merge branch 'cypress-testing' of github.com:Budibase/budibase into cypress-testing
2022-01-21 13:37:25 +00:00
Mitch-Budibase
9fe8a8c687
lint changes
2022-01-21 13:12:16 +00:00
Mitch-Budibase
7e834f3aa5
Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing
2022-01-21 12:56:33 +00:00
Mitch-Budibase
0abcff774b
Adding tags to tests
...
Currently there is 'smoke' and 'all' tags
2022-01-21 12:43:27 +00:00
Peter Clement
c5ea321f25
fix cypress createApp command
2022-01-20 11:51:41 +00:00
Peter Clement
220adba4c1
Merge remote-tracking branch 'origin/develop' into fix/template-row-limit
2022-01-20 09:53:39 +00:00
Peter Clement
a3519ac1aa
fix cypress
2022-01-20 09:44:40 +00:00
Martin McKeaveney
39a5f297d2
Merge branch 'develop' of github.com:Budibase/budibase into develop
2022-01-19 16:19:42 +01:00
Martin McKeaveney
701298d0de
revert new cypress tests
2022-01-19 16:19:02 +01:00
Martin McKeaveney
d953e12ec7
Revert "Small changes associated with the smoke build"
2022-01-19 16:10:22 +01:00
Martin McKeaveney
da148952e7
fix lint
2022-01-19 12:42:11 +01:00
Mitch-Budibase
eaf9ecf2ee
Small changes associated with the smoke build
...
Removing a line from addMultiOptionDatatype
Also adding a wait when creating an app - smoke build looks to have a timing issue with some tests
-Just a 2 second wait for now
2022-01-18 17:25:09 +00:00
Mitch-Budibase
18cb272f0e
lint changes
2022-01-18 16:20:54 +00:00
Mitch-Budibase
dbdb2750b4
Table Test fix - Add row to table
...
Fixing the command associated with adding a row to a table
2022-01-18 16:12:53 +00:00
Mitch-Budibase
4c216b12fa
Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing
2022-01-18 16:02:49 +00:00
Mitch-Budibase
8f0123b286
Structural Changes + New Test
...
Structural changes surrounding data sources
-Cypress env file removed
-Text change for fetching tables
-Oracle tests organised
-PostgreSQL tests organised
New test is for skipping table fetch via button
There are a few other smaller changes
2022-01-18 16:02:42 +00:00
Mitch-Budibase
a439ac24e2
Merge branch 'develop' into cypress-testing
2021-12-24 10:55:57 +00:00
Mitch-Budibase
daca40850c
New Tests and Changes based on updated test environment
...
-Changes made to reflect the new layouts of the test env
--e.g. Changes to the app grid, changes to UI screens
-Updated commands
--New commands added & some updated
-New tests
--Revert App
--AutoScreensUI
--Change app icon and colour
--Data source testing
In particular to data source testing
-I have a file for mySQL, PostgreSQL, Oracle, and REST.
--enabled better regression testing for each
Other changes made for:
-QueryLevelTransformers tests
-Table tests
-Renaming applications
-Automations
-Multi-option datastype
New env file added too
2021-12-24 10:38:03 +00:00
Peter Clement
a24c1e626d
fix home screen automation commands
2021-12-09 11:52:47 +00:00
Peter Clement
7831ce223a
update cypress to account for no default screen
2021-11-25 21:48:07 +00:00
Peter Clement
1b69fb8349
fixng some auto screen bugs
2021-11-23 09:39:40 +00:00
Peter Clement
8d93a89b1d
Merge pull request #3334 from Budibase/feature/auto-screen-ui
...
Feature/auto screen UI
2021-11-22 10:15:44 +00:00
Mitch-Budibase
c7c4bd607f
Env variables & data files
...
Changes as per PR
-Created files for transformer queries - tests updated accordingly
-Updates for Env variables and usage
-Changes surrounding App Rename testing
2021-11-18 13:47:41 +00:00
Mitch-Budibase
543fb1dcc6
Update commands.js
...
A few formatting based changes for this file
2021-11-15 15:40:48 +00:00
Mitch-Budibase
6b676cd10c
New Tests (User Roles, Query Level Transformers, Data Sources etc.)
...
New tests:
-Query Level Transformers
-Table pagination
-User Roles
-Data Sources (correct config, incorrect config, Wizard)
Also:
-New Commands to support
Testing
-Cypress Updated
2021-11-15 15:25:58 +00:00
Peter Clement
8ad1906865
fix cypress tests
2021-11-15 11:04:22 +00:00
Martin McKeaveney
0a0a338b83
fix renaming an app
2021-11-10 14:57:46 +01:00
Martin McKeaveney
88c1b16ec2
adding cypress tag to input
2021-11-10 14:08:34 +01:00
Martin McKeaveney
a8066909df
fix cypress tests
2021-11-10 13:04:59 +01:00
Martin McKeaveney
753d2f51bc
updating delete app cypress command
2021-11-09 18:35:19 +01:00
Mitch-Budibase
24d837f3d3
Merge pull request #3024 from Budibase/cypress-testing
...
New Tests & Command
2021-10-21 15:30:58 +01:00
mike12345567
c57908f14d
Fixing test case issue, Cypress not consistently opening app creation modal.
2021-10-19 16:14:34 +01:00
Mitch-Budibase
54618e6072
Merge branch 'develop' into cypress-testing
2021-10-15 17:36:18 +01:00
Mitch-Budibase
02ed5343a2
New Tests & Command
...
Rename an application
-5 tests
Custom theming properties
-1 new test (Button roundness)
1 new command
-searches for an application
2021-10-15 17:36:10 +01:00
Peter Clement
eeda7322d0
remove unused command
2021-10-14 16:59:22 +01:00
Peter Clement
259ca7f4cd
Don't show the create datasource popup in dev environments
2021-10-14 16:45:27 +01:00
Peter Clement
47adf12a4a
fix lint
2021-10-11 11:33:54 +01:00
Mitch-Budibase
ce64923813
Some changes for addMultiOptionDatatype
2021-10-08 11:45:54 +01:00
Mitch-Budibase
58a40be2e5
Update commands.js
2021-10-08 10:56:44 +01:00
Mitch-Budibase
2ee4c13826
Merge branch 'develop' into cypress-testing
2021-10-07 14:01:22 +01:00
Martin McKeaveney
f8b76a4860
use start from scratch instead of create app button
2021-10-06 14:35:00 +01:00
Martin McKeaveney
2f491f3b6f
Merge branch 'develop' into dnd
2021-09-30 14:56:23 +01:00
Mitch-Budibase
2516d9bdc0
Fixing env change that i missed in commands file
2021-09-30 14:09:37 +01:00
Mitch-Budibase
ee9a1135ba
Changing Environment
...
I had this as the test env, changing it back to what it was previously.
2021-09-30 13:52:20 +01:00
Mitch-Budibase
0b88a0a2f2
Merge branch 'develop' into cypress-testing
2021-09-30 13:38:48 +01:00
Peter Clement
fa4f0b07f4
update cypress tests to account for new modal
2021-09-28 12:26:38 +01:00
Mitch-Budibase
716dbe9c98
Cypress Testing additions and changes
...
-Changing baseurl to be the test env
-Made a few updates to existing tests/commands
--New commands also added
-Add Radio Button Test
-Add Multi Option Datatype test
-Custom Theming Properties Test
--Just the one so far, more to come
2021-09-27 18:19:25 +01:00
Andrew Kingston
8defbd1ed2
Remove old and no longer needed component-id data tag applied by styleable helper
2021-09-20 12:20:34 +01:00
Andrew Kingston
119891077b
Fix cypress tests due to renaming of 'Create new app' text
2021-09-16 16:53:55 +01:00
Maurits Lourens
c318a1b3be
fix tests by ensuring the budibase connection is expanded
2021-09-16 10:03:57 +02:00
Maurits Lourens
c22afdaf0f
fix tests
2021-09-15 18:16:22 +02:00
Maurits Lourens
5efc80b859
fix lint issues
2021-07-28 10:19:10 +02:00
Maurits Lourens
a17077b25a
replace spaces with underscores in screen routes
2021-07-28 09:09:37 +02:00
mike12345567
a04c930c1e
Fixing some issues with cypress tests and screens getting multipled.
2021-06-17 18:19:34 +01:00
Martin McKeaveney
449169f215
fix up datasources and server tests
2021-06-17 15:24:52 +01:00
mike12345567
92dbfee839
Removing unused function.
2021-06-07 17:00:03 +01:00
mike12345567
d89155aec8
Fixing conditional issues.
2021-06-07 16:59:54 +01:00
mike12345567
fa98299737
Some fixes after test failures in CI.
2021-06-02 18:28:05 +01:00
mike12345567
fa455e8eef
Fixing internal table issues and updating createTable cypress test case.
2021-06-02 12:32:07 +01:00
mike12345567
24d58f0c7c
Re-working conditional logic to work better in cypress.
2021-06-01 14:29:25 +01:00
mike12345567
87893856c2
Formatting.
2021-05-25 18:08:34 +01:00
mike12345567
e003fec3dc
Fixing create user test case, fixed part of create table and made a start on create components.
2021-05-25 18:06:56 +01:00
mike12345567
e2c9c06f98
Updating binding tests.
2021-05-25 16:52:35 +01:00
mike12345567
9639a8ee5c
Updating Automation cypress tests, now functional.
2021-05-25 15:57:38 +01:00
mike12345567
be7736afb7
Fixing app cypress test cases.
2021-05-25 13:25:42 +01:00
mike12345567
39545358f2
Fixing the creation of user in cypress.
2021-05-25 11:06:50 +01:00
mike12345567
4268ea8eb0
Changing cypress commands.
2021-05-24 16:32:42 +01:00
mike12345567
bd0f78e38e
Changing how connection is waited for.
2021-05-24 16:31:50 +01:00
Andrew Kingston
556236ebce
Add explicit prettier options
2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti
4ec2e7d01f
lint:fix
2021-05-03 09:31:09 +02:00
Andrew Kingston
0caad1f582
Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui
2021-04-28 15:53:07 +01:00
Andrew Kingston
14a9eebfa1
Update other cypress helpers to work with spectrum
2021-04-28 15:08:43 +01:00
Andrew Kingston
164c4b76c7
Update cpyress tests so create and delete app helpers work again
2021-04-28 14:56:31 +01:00
mike12345567
ebaf8c3a2f
Updating cypress tests to work with the new user ID system.
2021-04-21 11:33:12 +01:00
Martin McKeaveney
e2167c1d62
lint
2021-04-15 18:34:49 +01:00
Martin McKeaveney
046850b4d6
login step configured correctly
2021-04-15 18:29:11 +01:00
Martin McKeaveney
7c92f9af32
lint
2021-04-15 17:46:47 +01:00
Martin McKeaveney
191c085f17
fix cypress tests, only login if cookie not present
2021-04-15 17:36:58 +01:00
mike12345567
0d65aac9a4
Linting.
2021-04-15 13:23:42 +01:00
Martin McKeaveney
fe6d31d880
login command - need to run worker in cypress env
2021-04-15 12:14:50 +01:00
mike12345567
e9767eabc5
Adding some controls around cookies, expiring them when a 403 is hit.
2021-04-14 15:43:34 +01:00
mike12345567
6d5b13632f
Adding a wait for authentication in cypress tests.#
2021-04-07 20:19:25 +01:00
Andrew Kingston
a9f50556d3
Fix cypress tests not deleting old apps
2021-04-07 15:08:59 +01:00
Andrew Kingston
ecf15f9207
Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui
2021-04-01 13:51:48 +01:00
Keviin Åberg Kultalahti
adab566c9d
increase wait times in cypress tests
2021-04-01 11:08:58 +02:00
Andrew Kingston
23641a5d56
Update URLs to use builder instead of _builder
2021-04-01 10:06:22 +01:00
Andrew Kingston
40beae659a
Add cypress test for deleting a component
2021-03-08 11:57:56 +00:00
Andrew Kingston
dc3dadcc44
Refactor cypress to use common app creation functionality and stop cypress deleting all apps
2021-03-05 14:36:38 +00:00
Andrew Kingston
c03e361710
Add cypress tests for data bindings and component creation
2021-03-05 13:52:26 +00:00
Andrew Kingston
fb1ca5e7ef
Fix cypress tests
2020-12-14 13:33:34 +00:00
Andrew Kingston
9054a8014a
Merge branch 'master' of github.com:Budibase/budibase into feature/security-update
2020-12-08 13:16:53 +00:00
Martin McKeaveney
d8aa699bfa
merge
2020-12-07 21:20:35 +00:00
mike12345567
e4ef92555c
Merge branch 'username-email' of github.com:Budibase/budibase into feature/security-update
2020-12-07 18:08:20 +00:00
Martin McKeaveney
d6b00d5ebe
email as default user identifier
2020-12-04 12:22:45 +00:00
mike12345567
05d5feb9fd
Changing the naming of access levels to be roles.
2020-12-02 13:20:56 +00:00
Martin McKeaveney
1014437d42
fix user test
2020-11-27 13:17:31 +00:00
Martin McKeaveney
42d8a94f9a
fix e2e
2020-11-20 11:41:17 +00:00
Michael Drury
215e1251bc
Some further work, logout and preview appear to be working much better now.
2020-11-02 22:46:31 +00:00
Andrew Kingston
54f8a3d36f
Lint
2020-10-28 17:40:14 +00:00
Andrew Kingston
9c1515267a
Merge ag-grid backend UI and update styles
2020-10-28 15:20:56 +00:00
Andrew Kingston
ced34d9672
Format with prettier
2020-10-27 15:28:13 +00:00
Andrew Kingston
891cdf3e63
Fix cypress tests
2020-10-27 15:26:07 +00:00
Martin McKeaveney
e4a3bb75dc
cypress test fixes
2020-10-26 21:43:04 +00:00
Martin McKeaveney
65479a803a
ag grid updates
2020-10-21 13:42:26 +01:00
Andrew Kingston
a68b7aaaed
Fix cypress tests
2020-10-17 19:07:12 +01:00
Andrew Kingston
b81dac0a11
Fix cypress tests
2020-10-15 08:17:26 +01:00
mike12345567
d90c1e3dd3
Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing.
2020-10-09 19:10:28 +01:00
mike12345567
bb3370e742
Renaming Model -> Table across the entire system, this is an unstable update and has not been tested fully yet.
2020-10-09 18:49:23 +01:00
Andrew Kingston
9b57786457
Fixing cypress tests
2020-10-08 11:36:16 +01:00
Andrew Kingston
6c3aeac69a
Fix table cypress tests
2020-10-07 11:23:47 +01:00
Andrew Kingston
ae0a5d2c51
Fix more cypress tests
2020-10-05 12:37:03 +01:00
Andrew Kingston
70b70252ec
Fix cypress texts and update use of modal
2020-10-05 11:13:09 +01:00
Victoria Sloan
650503fd82
cypress test fixed
2020-09-05 00:03:08 +01:00
Martin McKeaveney
7c27957b1b
Workflow fixes ( #559 )
...
* workflow fixes
* fixes for workflow - cypress test coverage
* remove log
* adding some assertions to slow test down
* force click create user
* cypress 5, small wait for user test
* remove cypress waiting eslint rule to fix user test
* click button directly
* test clicking
* try changing access level for validity
* lint
2020-09-03 12:02:15 +01:00
Michael Shanks
eb76a0403a
fixed cypress tests
2020-08-18 21:43:13 +01:00
Martin McKeaveney
f1be92bd41
tidy up + lint
2020-08-11 11:23:07 +01:00
Martin McKeaveney
2a04147c4b
full cypress suite for new backend
2020-08-10 17:51:30 +01:00
Martin McKeaveney
6a315767b2
cypress + unit test framework
2020-08-10 15:34:37 +01:00
Martin McKeaveney
bbcb282e53
Cypress Tests Running in CI ( #524 )
...
* cypress test setup
* running cypress in CI
* fixing tests after first time setup wizard
* bb api key
* API Key in right place
* adding env in cypress.json
* env var in setup
* lint
* API key not working
* fill in API key form if present
* allow more time for creation
* cypress server for debug
* video recording, better debugging
* Adding debug logs
* set node env
* cypress env
* cancel irrelevant test
2020-08-05 15:18:28 +01:00
Conor_Mack
b9d7cfdec1
Cypress Tests - Use Get Timeouts
2020-06-24 16:58:30 +01:00
Conor_Mack
4c7bdcded1
Lint fixes
2020-06-24 16:20:58 +01:00
Conor_Mack
fcff2d928a
Cypress Tests and Discussion Resolves
2020-06-24 16:16:06 +01:00
Michael Shanks
733dd9753c
cypress - retain "builder:token" cookie between tests
2020-06-22 10:53:17 +01:00
kevmodrome
e68ce5e87e
fix linting errors
2020-06-11 18:14:28 +02:00
kevmodrome
40dfde522b
make tests less brittle
2020-06-11 17:10:26 +02:00
kevmodrome
5140069ed6
adds some data-cy properties to a number of elements and starts work on workflow tests
2020-06-11 16:40:07 +02:00