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