-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EES-5544 Change data set import page accordions into a table #5459
base: dev
Are you sure you want to change the base?
Conversation
369e1a3
to
c1cb095
Compare
602e242
to
85840e2
Compare
9a80962
to
3024245
Compare
...lore-education-statistics-admin/src/pages/release/data/components/DataFilesTable.module.scss
Outdated
Show resolved
Hide resolved
...lore-education-statistics-admin/src/pages/release/data/components/DataFilesTable.module.scss
Outdated
Show resolved
Hide resolved
src/explore-education-statistics-admin/src/pages/release/data/components/DataFilesTable.tsx
Outdated
Show resolved
Hide resolved
src/explore-education-statistics-admin/src/pages/release/data/components/DataFilesTable.tsx
Outdated
Show resolved
Hide resolved
src/explore-education-statistics-admin/src/pages/release/data/components/DataFilesTable.tsx
Show resolved
Hide resolved
...e-education-statistics-admin/src/pages/release/data/components/ReleaseDataUploadsSection.tsx
Outdated
Show resolved
Hide resolved
@@ -23,9 +23,10 @@ user checks table row heading contains | |||
user waits until element contains xpath://table/tbody/tr[${row}]/th[${column}] ${expected} | |||
|
|||
user checks table cell contains | |||
[Arguments] ${row} ${column} ${expected} ${parent}=css:table | |||
[Arguments] ${row} ${column} ${expected} ${parent}=css:table ${wait}=%{WAIT_SMALL} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need a wait? Typically, we could use some other keyword to check that the table (or something in it) has rendered before checking the table cells.
Most 'check' keywords don't include waits for this reason, so this is fairly inconsistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was added due to table updating asynchronously to the form submit, but have abstracted the waits into separate keywords
43985c4
to
d27e7c7
Compare
|
||
a, | ||
button { | ||
margin-bottom: 1rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<th scope="col">Size</th> | ||
<th scope="col">Status</th> | ||
<th scope="col">Actions</th> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like we're missing a bunch of columns that appear in the ticket and acceptance criteria? Is this on purpose? If so, the ticket needs to be updated to describe precisely what is needed.
If not, looks like we need to add those in. We'll need to update the tests accordingly as well!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the addition of the "View details" modal, we've opted to remove some columns to make the rows more concise at first glance wit the added option to see more information. Cam and I have discussed briefly here in the ticket comments in which I showed example:
And he responded:
For the columns to show, I think I’d drop the uploaded by, and make the status wrap for data replacement in progress so that it’s over two lines, I think both of those together should give enough space for longer subject titles?
Leaving just:
- Title, Size, Status and Actions
See Ticket EES-5544