Skip to content

Conversation

@mmaquina
Copy link
Contributor

@mmaquina mmaquina commented Jul 7, 2023

Description

Prevent home page from sending the form when required fields are missing.
Fix existing tests.

Files changed

  • src/app/modules/time-clock/components/entry-fields/entry-fields.component.spec.ts
  • src/app/modules/time-clock/components/entry-fields/entry-fields.component.ts

Task board

Acceptance criteria

Should not let time entries be saved by updating time in, or technologies in the home pages if required fields are not filled.

@github-actions
Copy link

github-actions bot commented Jul 7, 2023

[infrastructure/][stage] Terraform Plan 📖 failure

Show Plan ```

terraform

</details>
*Pusher: @mmaquina, Action: `pull_request`*

@github-actions
Copy link

github-actions bot commented Jul 7, 2023

[infrastructure/][prod] Terraform Plan 📖 failure

Show Plan ```

terraform

</details>
*Pusher: @mmaquina, Action: `pull_request`*

@github-actions
Copy link

[infrastructure/][stage] Terraform Plan 📖 failure

Show Plan ```

terraform

</details>
*Pusher: @mmaquina, Action: `pull_request`*

@github-actions
Copy link

[infrastructure/][prod] Terraform Plan 📖 failure

Show Plan ```

terraform

</details>
*Pusher: @mmaquina, Action: `pull_request`*

@github-actions
Copy link

[infrastructure/][stage] Terraform Plan 📖 failure

Show Plan ```

terraform

</details>
*Pusher: @mmaquina, Action: `pull_request`*

@github-actions
Copy link

[infrastructure/][prod] Terraform Plan 📖 failure

Show Plan ```

terraform

</details>
*Pusher: @mmaquina, Action: `pull_request`*

expect(autofocus).toHaveBeenCalled();
});
});
// it('when a activity is not register in DB should show activatefocus in select activity', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this code is commented?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was not working in the first place, it expects something that is not a function to have been called

@github-actions
Copy link

[infrastructure/][stage] Terraform Plan 📖 failure

Show Plan ```

terraform

</details>
*Pusher: @mmaquina, Action: `pull_request`*

@github-actions
Copy link

[infrastructure/][prod] Terraform Plan 📖 failure

Show Plan ```

terraform

</details>
*Pusher: @mmaquina, Action: `pull_request`*

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@mmaquina mmaquina merged commit 2205bc6 into master Jul 14, 2023
@mmaquina mmaquina deleted the TTL-898-fix-bug-that-lets-you-save-without-required-fields branch July 14, 2023 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants