Skip to content

Conversation

@francoisfreitag
Copy link
Member

@francoisfreitag francoisfreitag commented Jul 2, 2024

🤔 Pourquoi ?

050d7d2

🏝️ Comment tester

  1. Se connecter en tant que l’EI
  2. http://localhost:8000/approvals/list

Utiliser le filtre nom salarié.

💻 Captures d'écran

image

@francoisfreitag francoisfreitag added the modifié Modifié dans le changelog. label Jul 2, 2024
@francoisfreitag francoisfreitag self-assigned this Jul 2, 2024
@francoisfreitag francoisfreitag requested a review from tonial July 2, 2024 08:08
User last name display has been normalized to upper case in
050d7d2.
response = client.get(url)

assertContains(response, "2 résultats")
assertContains(response, approval.user.get_full_name(), count=2)
Copy link
Contributor

@tonial tonial Jul 2, 2024

Choose a reason for hiding this comment

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

Hum... ça veut dire que l'autre endroit utilise aussi user.get_full_name().title(), non ?
il faudrait aussi le corriger

Copy link
Member Author

@francoisfreitag francoisfreitag Jul 2, 2024

Choose a reason for hiding this comment

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

Non, avant on comptait l’apparition du nom dans le aria-label et le <h3>

Copy link
Contributor

Choose a reason for hiding this comment

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

AH, et tu as ajouté le h3 ici pour bien vérifier qu'on ne regarde que lui 👍

response = client.get(url)

assertContains(response, "2 résultats")
assertContains(response, approval.user.get_full_name(), count=2)
Copy link
Contributor

Choose a reason for hiding this comment

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

AH, et tu as ajouté le h3 ici pour bien vérifier qu'on ne regarde que lui 👍

@francoisfreitag francoisfreitag added this pull request to the merge queue Jul 2, 2024
Merged via the queue into master with commit 2b402f7 Jul 2, 2024
@francoisfreitag francoisfreitag deleted the ff/capitalize branch July 2, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

modifié Modifié dans le changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants