Skip to content

Commit

Permalink
Fixed tabs name missed
Browse files Browse the repository at this point in the history
  • Loading branch information
VitoAlbano committed Jul 9, 2024
1 parent 91ea8fb commit 3a3ffbd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ describe('Visibility conditions on tabs - cloud', () => {
};

const tab = {
tabWithFields: 'TABWITHFIELDS',
tabFieldValue: 'TABBASICFIELDVALUE',
tabVarValue: 'TABBASICVARVALUE',
tabWithFields: 'tabWithFields',
tabFieldValue: 'tabBasicFieldValue',
tabVarValue: 'tabBasicVarValue',
tabVarField: 'tabBasicVarField',
tabFieldField: 'TABBASICFIELDFIELD',
tabFieldField: 'tabBasicFieldField',
tabVarVar: 'tabBasicVarVar',
tabNextOperators: 'TABNEXTOPERATORS'
tabNextOperators: 'tabNextOperators'
};

beforeAll(async () => {
Expand Down
8 changes: 4 additions & 4 deletions e2e/resources/forms/tab-visibility-conditions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const createVisibilityCondition = (

const createTab = (
id = '71da814d-5580-4f1f-972a-8089253aeded',
title = 'TABBASICFIELDVALUE',
title = 'tabBasicFieldValue',
visibilityCondition = createVisibilityCondition('field', 'TextOne', null)
) => ({
id,
Expand Down Expand Up @@ -135,7 +135,7 @@ const createTabVisibilityJson = (
export const tabFieldValueVisibilityJson = createTabVisibilityJson();

export const tabVarValueVisibilityJson = createTabVisibilityJson(
[createTab('71da814d-5580-4f1f-972a-8089253aeded', 'TABBASICVARVALUE', createVisibilityCondition('variable', 'stringVar'))],
[createTab('71da814d-5580-4f1f-972a-8089253aeded', 'tabBasicVarValue', createVisibilityCondition('variable', 'stringVar'))],
[fieldDefinition1],
[
{
Expand Down Expand Up @@ -171,7 +171,7 @@ export const tabFieldFieldVisibilityJson = createTabVisibilityJson(
[
createTab(
'71da814d-5580-4f1f-972a-8089253aeded',
'TABBASICFIELDFIELD',
'tabBasicFieldField',
createVisibilityCondition('field', 'TextThree', undefined, 'TextOne', 'field')
),
createTab('442eea0b-65f9-484e-b37f-f5a91d5e1f21', 'tabWithFields', null)
Expand Down Expand Up @@ -233,7 +233,7 @@ export const tabNextOperatorsVisibilityJson = createTabVisibilityJson(
[
createTab(
'71da814d-5580-4f1f-972a-8089253aeded',
'TABNEXTOPERATORS',
'tabNextOperators',
createVisibilityCondition('field', 'TextOne', createVisibilityCondition('field', 'TextThree', null, 'showTab', 'value', '!='))
),
createTab('442eea0b-65f9-484e-b37f-f5a91d5e1f21', 'tabWithFields', null)
Expand Down

0 comments on commit 3a3ffbd

Please sign in to comment.