Skip to content
GitLab
Explorer
Connexion
S'inscrire
Navigation principale
Rechercher ou aller à…
Projet
P
parlote-facil
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de paquets
Registre de conteneur
Registre de modèles
Opération
Environnements
Modules Terraform
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
facil
parlote-facil
Validations
ce15f41a
Non vérifiée
Valider
ce15f41a
rédigé
il y a 8 ans
par
flaburgan
Validation de
Steffen van Bergerem
il y a 8 ans
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Check the publisher is closed when submitted, test it is expanded when filled
parent
bfad786e
Aucune branche associée trouvée
Branches contenant la validation
Aucune étiquette associée trouvée
Étiquettes contenant la validation
Aucune requête de fusion associée trouvée
Modifications
2
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
2 fichiers modifiés
features/desktop/signs_up.feature
+7
-3
7 ajouts, 3 suppressions
features/desktop/signs_up.feature
features/support/publishing_cuke_helpers.rb
+2
-0
2 ajouts, 0 suppression
features/support/publishing_cuke_helpers.rb
avec
9 ajouts
et
3 suppressions
features/desktop/signs_up.feature
+
7
−
3
Voir le fichier @
ce15f41a
...
...
@@ -13,8 +13,9 @@ Feature: new user registration
|
profile_first_name
|
O
|
And
I
confirm
the
alert
after
I
follow
"awesome_button"
Then
I should be on the stream page
And
the publisher should be expanded
And
I close the publisher
And
I should not see
"awesome_button"
Then
I should not see
"awesome_button"
And
I should not see any posts in my stream
Scenario
:
new user tries to XSS itself
...
...
@@ -35,16 +36,18 @@ Feature: new user registration
Scenario
:
new user skips the setup wizard
When
I confirm the alert after I follow
"awesome_button"
Then
I should be on the stream page
And
I close
the publisher
And
the publisher
should be expanded
Scenario
:
first status message is public
When
I confirm the alert after I follow
"awesome_button"
Then
I should be on the stream page
And
the publisher should be expanded
And
I should see
"Public"
within
".aspect_dropdown"
Scenario
:
new user without any tags posts first status message
When
I confirm the alert after I follow
"awesome_button"
Then
I should be on the stream page
And
the publisher should be expanded
When
I submit the publisher
Then
"Hey everyone, I’m #newhere."
should be post 1
...
...
@@ -55,7 +58,8 @@ Feature: new user registration
And
I press the first
".as-result-item"
within
"#as-results-tags"
And
I follow
"awesome_button"
Then
I should be on the stream page
When
I submit the publisher
And
the publisher should be expanded
And
I submit the publisher
Then
"Hey everyone, I’m #newhere. I’m interested in #rockstar."
should be post 1
Scenario
:
closing a popover clears getting started
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
features/support/publishing_cuke_helpers.rb
+
2
−
0
Voir le fichier @
ce15f41a
...
...
@@ -35,6 +35,8 @@ module PublishingCukeHelpers
def
submit_publisher
txt
=
find
(
"#publisher #status_message_fake_text"
).
value
find
(
"#publisher .btn-primary"
).
click
# wait for the publisher to be closed
expect
(
find
(
"#publisher"
)[
"class"
]).
to
include
(
"closed"
)
# wait for the content to appear
expect
(
find
(
"#main_stream"
)).
to
have_content
(
txt
)
end
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter