Skip to content

feat: mise à jour des antennes#2254

Open
tdutrion wants to merge 4 commits into
afup:masterfrom
tdutrion:master
Open

feat: mise à jour des antennes#2254
tdutrion wants to merge 4 commits into
afup:masterfrom
tdutrion:master

Conversation

@tdutrion
Copy link
Copy Markdown

Mise à jour des informations des antennes à l'aide du document https://docs.google.com/spreadsheets/d/1_GzdSNnW2THhoWUGgjus7-KLcDb_iB_e89MDJ1TqTYA/edit?gid=0#gid=0 fait le 23 septembre 2025 et mis à jour aujourd'hui.

Comment thread sources/AppBundle/Antennes/AntenneRepository.php
Copy link
Copy Markdown
Contributor

@Mopolo Mopolo left a comment

Choose a reason for hiding this comment

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

Je pense qu'à terme l'option blog va disparaitre. Le domaine est construit à partir du code d'une antenne de toute façon.

Mais ça n'urge pas.

@tdutrion
Copy link
Copy Markdown
Author

Il faut surement le garder juste pour la rétrocompatibilité par contre, vu qu'on sait pas qui le consomme :)

@Mopolo
Copy link
Copy Markdown
Contributor

Mopolo commented May 28, 2026

Il faut surement le garder juste pour la rétrocompatibilité par contre, vu qu'on sait pas qui le consomme :)

Nan l'option n'est pas exposée dans l'api exprès et ça ne sert que sur 2 pages qui sont simples à remplacer par le code.

@Mopolo
Copy link
Copy Markdown
Contributor

Mopolo commented May 28, 2026

Il y a un scénario Behat qui ne passe pas :

@reloadDbWithTestData
Scenario: Liste des antennes                                                        # tests/behat/features/Admin/Antennes/List.feature:4
  Given I am logged in as admin and on the Administration                           # Afup\Tests\Behat\Bootstrap\FeatureContext::iAmLoggedInAsAdminAndOnTheAdministration()
  And I follow "afup-main-menu-item--antennes_index"                                # Behat\MinkExtension\Context\MinkContext::clickLink()
  Then the ".content h2" element should contain "Antennes"                          # Behat\MinkExtension\Context\MinkContext::assertElementContains()
  And the "tr[data-qa='antenne-marseille']" element should contain "Aix-Marseille"  # Behat\MinkExtension\Context\MinkContext::assertElementContains()
  And the "tr[data-qa='antenne-bordeaux']" element should contain "meetup.com"      # Behat\MinkExtension\Context\MinkContext::assertElementContains()
  And the "tr[data-qa='antenne-lille']" element should contain "linkedin.com"       # Behat\MinkExtension\Context\MinkContext::assertElementContains()
  And the "tr[data-qa='antenne-limoges']" element should contain "limoges.afup.org" # Behat\MinkExtension\Context\MinkContext::assertElementContains()
  And the "tr[data-qa='antenne-lorraine']" element should contain "bsky.app"        # Behat\MinkExtension\Context\MinkContext::assertElementContains()
  And the "tr[data-qa='antenne-lyon']" element should contain "youtube.com"         # Behat\MinkExtension\Context\MinkContext::assertElementContains()
  And the "tr[data-qa='antenne-luxembourg']" element should contain "twitter.com"   # Behat\MinkExtension\Context\MinkContext::assertElementContains()
  And the "tr[data-qa='antenne-nantes']" element should not contain "youtube.com"   # Behat\MinkExtension\Context\MinkContext::assertElementNotContains()
    The string "youtube.com" appears in the HTML of the element matching css "tr[data-qa='antenne-nantes']", but it should not. (Behat\Mink\Exception\ElementHtmlException)
  And the "tr[data-qa='antenne-montpellier']" element should contain "Active"       # Behat\MinkExtension\Context\MinkContext::assertElementContains()
  And the "tr[data-qa='antenne-clermont']" element should contain "Inactive"        # Behat\MinkExtension\Context\MinkContext::assertElementContains()

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