Skip to content

Commit 73d8d46

Browse files
committed
Rename “Work Type” to “Domain”
#1422
1 parent a4ec881 commit 73d8d46

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/ChallengeEditor/Track-Field/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const TrackField = ({ challenge, tracks, onUpdateOthers, disabled }) => {
1616
<>
1717
<div className={styles.row}>
1818
<div className={cn(styles.field, styles.col1)}>
19-
<label htmlFor='track'>Work Type <span>*</span> :</label>
19+
<label htmlFor='track'>Domain <span>*</span> :</label>
2020
</div>
2121
<div className={cn(styles.field, styles.col2)}>
2222
{
@@ -27,7 +27,7 @@ const TrackField = ({ challenge, tracks, onUpdateOthers, disabled }) => {
2727
{ challenge.submitTriggered && !challenge.trackId && <div className={styles.row}>
2828
<div className={cn(styles.field, styles.col1)} />
2929
<div className={cn(styles.field, styles.col2, styles.error)}>
30-
Work Type is required field
30+
Domain is a required field
3131
</div>
3232
</div> }
3333
</>

test-automation/page-objects/create-challenge/create-challenge.helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ export class CreateChallengePageHelper {
3333

3434
// Click Work Type Button
3535
await this.createChallengePageObject.workTypeButton(data.workType[0]).click();
36-
logger.info(`Clicked on Work Type button: ${data.workType[0]}`);
36+
logger.info(`Clicked on Domain button: ${data.workType[0]}`);
3737

3838
// Click Work Form Input and Select Format from the list
3939
await this.createChallengePageObject.workFormatInput.click();
4040
await CommonHelper.searchTextFromListAndClick(await this.createChallengePageObject.workFormatList, workFormat);
41-
logger.info(`Selected Work Type: ${workFormat} from the list`);
41+
logger.info(`Selected Work Format: ${workFormat} from the list`);
4242

4343
// Specify Work Name
4444
const workName = CommonHelper.appendDate(`${data.workType[0]}${workFormat}${data.automation}`);

0 commit comments

Comments
 (0)