Skip to content

Commit

Permalink
- updated close button color (#505)
Browse files Browse the repository at this point in the history
- updated action button labels
- updated unit tests
- app version = 4.5.10
  • Loading branch information
severinbeauvais authored Jan 24, 2023
1 parent d7ec137 commit 5e931c7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-create-ui",
"version": "4.5.9",
"version": "4.5.10",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
6 changes: 3 additions & 3 deletions src/dialogs/FilingSurveyDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<v-card class="px-10 py-6">
<v-card-title class="d-flex justify-space-between align-center">
<span class="font-weight-bold">Filing Survey</span>
<v-btn icon large class="dialog-close" @click="no()"><v-icon>mdi-close</v-icon></v-btn>
<v-btn icon large color="primary" class="dialog-close" @click="no()"><v-icon>mdi-close</v-icon></v-btn>
</v-card-title>

<v-card-text>
Expand Down Expand Up @@ -35,15 +35,15 @@
class="mr-sm-3 px-8"
@click="no()"
>
<span>NOT RIGHT NOW</span>
<span>Not Right Now</span>
</v-btn>
<v-btn
id="dialog-yes-button"
large color="primary"
class="ml-sm-3 px-8"
@click="yes()"
>
<span>YES, I'LL PARTICIPATE</span>
<span>Yes, I'll Participate</span>
</v-btn>
</v-card-actions>
</v-card>
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/FilingSurveyDialog.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('Filing Survey Dialog', () => {

// verify and click button
const button = wrapper.find('#dialog-no-button')
expect(button.text()).toBe('NOT RIGHT NOW')
expect(button.text()).toBe('Not Right Now')
button.trigger('click')
await Vue.nextTick()

Expand All @@ -85,7 +85,7 @@ describe('Filing Survey Dialog', () => {

// verify and click button
const button = wrapper.find('#dialog-yes-button')
expect(button.text()).toBe('YES, I\'LL PARTICIPATE')
expect(button.text()).toBe('Yes, I\'ll Participate')
button.trigger('click')
await Vue.nextTick()

Expand Down

0 comments on commit 5e931c7

Please sign in to comment.