1
0
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:
Jernej Pregelj 2019-08-05 12:26:35 +02:00
parent 483c333732
commit 459019f5ee
2 changed files with 6 additions and 3 deletions

View File

@ -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,

View File

@ -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