Spaces:
Runtime error
Runtime error
Push
Browse files- cypress/e2e/renameDistribution.cy.js +6 -0
- cypress/screenshots/renameDistribution.cy.js/Renaming of FileObjectsFileSetsRecordSetsFields -- should rename the FileObjectFileSet everywhere (failed).png +0 -0
- cypress/screenshots/uploadCsv.cy.js/Editor loads a local CSV as a resource -- should display the form Overview, Metadata, Resources, & Record Sets (failed).png +0 -0
- views/wizard.py +0 -1
cypress/e2e/renameDistribution.cy.js
CHANGED
@@ -26,6 +26,12 @@ describe('Renaming of FileObjects/FileSets/RecordSets/Fields.', () => {
|
|
26 |
// Click on genders.csv
|
27 |
getBody().contains('genders.csv').click()
|
28 |
})
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
cy.get('input[aria-label="Name:red[*]"][value="genders.csv"]').type('{selectall}{backspace}the-new-name{enter}')
|
30 |
|
31 |
cy.get('button').contains('RecordSets').click()
|
|
|
26 |
// Click on genders.csv
|
27 |
getBody().contains('genders.csv').click()
|
28 |
})
|
29 |
+
// TODO(marcenacp): There is a bug where this action has to be performed twice.
|
30 |
+
cy.get('button').contains('Resources').click()
|
31 |
+
cy.enter('[title="components.tree.tree_component"]').then(getBody => {
|
32 |
+
// Click on genders.csv
|
33 |
+
getBody().contains('genders.csv').click()
|
34 |
+
})
|
35 |
cy.get('input[aria-label="Name:red[*]"][value="genders.csv"]').type('{selectall}{backspace}the-new-name{enter}')
|
36 |
|
37 |
cy.get('button').contains('RecordSets').click()
|
cypress/screenshots/renameDistribution.cy.js/Renaming of FileObjectsFileSetsRecordSetsFields -- should rename the FileObjectFileSet everywhere (failed).png
DELETED
Binary file (130 kB)
|
|
cypress/screenshots/uploadCsv.cy.js/Editor loads a local CSV as a resource -- should display the form Overview, Metadata, Resources, & Record Sets (failed).png
DELETED
Binary file (133 kB)
|
|
views/wizard.py
CHANGED
@@ -42,4 +42,3 @@ def render_editor():
|
|
42 |
with tab4:
|
43 |
render_record_sets()
|
44 |
save_current_project()
|
45 |
-
go_to_tab(TABS)
|
|
|
42 |
with tab4:
|
43 |
render_record_sets()
|
44 |
save_current_project()
|
|