mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
Merge pull request #185 from oceanprotocol/fix/cypress-consume
Fix faucet on consume, publish category warning
This commit is contained in:
commit
db6b53257f
@ -26,7 +26,7 @@ interface PublishState {
|
||||
files?: File[]
|
||||
type?: AssetType
|
||||
copyrightHolder?: string
|
||||
categories?: string[]
|
||||
categories?: string
|
||||
|
||||
currentStep?: number
|
||||
publishingStep?: number
|
||||
@ -60,7 +60,7 @@ class Publish extends Component<{}, PublishState> {
|
||||
type: 'dataset' as AssetType,
|
||||
license: '',
|
||||
copyrightHolder: '',
|
||||
categories: [],
|
||||
categories: '',
|
||||
|
||||
currentStep: 1,
|
||||
isPublishing: false,
|
||||
@ -130,7 +130,7 @@ class Publish extends Component<{}, PublishState> {
|
||||
type: 'dataset' as AssetType,
|
||||
license: '',
|
||||
copyrightHolder: '',
|
||||
categories: [],
|
||||
categories: '',
|
||||
isPublishing: false,
|
||||
isPublished: false,
|
||||
publishingStep: 0,
|
||||
|
@ -16,6 +16,9 @@ context('Consume', () => {
|
||||
})
|
||||
|
||||
it('Consume asset and check if there is no error', () => {
|
||||
// eslint-disable-next-line
|
||||
cy.wait(10000)
|
||||
// Wait for faucet
|
||||
// Click consume button
|
||||
cy.get('button[name="Download"]').click()
|
||||
// Wait consume process to end
|
||||
|
Loading…
Reference in New Issue
Block a user