<commit_before>﻿using Atata;
using NUnit.Framework;

namespace AtataSamples.ValidationMessagesVerification
{
    [TestFixture]
    public class SignUpTests
    {
        [Test]
        public void Validation_Required()
        {
            Go.To<SignUpPage>()
                .SignUp.Click()
                .AggregateAssert(page => page
                    .ValidationMessages[x => x.FirstName].Should.Equal("is required")
                    .ValidationMessages[x => x.LastName].Should.Equal("is required")
                    .ValidationMessages[x => x.Email].Should.Equal("is required")
                    .ValidationMessages[x => x.Password].Should.Equal("is required")
                    .ValidationMessages[x => x.Agreement].Should.Equal("is required")
                    .ValidationMessages.Should.HaveCount(5));
        }

        [Test]
        public void Validation_Required_UsingExtensions()
        {
            Go.To<SignUpPage>()
                .SignUp.Click()
                .AggregateAssert(page => page
                    .ValidationMessages[x => x.FirstName].Should.BeRequired()
                    .ValidationMessages[x => x.LastName].Should.BeRequired()
                    .ValidationMessages[x => x.Email].Should.BeRequired()<commit_msg>Fix SignUpTests of AtataSamples.ValidationMessagesVerification project<commit_after>﻿using Atata;
using NUnit.Framework;

namespace AtataSamples.ValidationMessagesVerification
{
    [TestFixture]
    public class SignUpTests : UITestFixture
    {
        [Test]
        public void Validation_Required()
        {
            Go.To<SignUpPage>()
                .SignUp.Click()
                .AggregateAssert(page => page
                    .ValidationMessages[x => x.FirstName].Should.Equal("is required")
                    .ValidationMessages[x => x.LastName].Should.Equal("is required")
                    .ValidationMessages[x => x.Email].Should.Equal("is required")
                    .ValidationMessages[x => x.Password].Should.Equal("is required")
                    .ValidationMessages[x => x.Agreement].Should.Equal("is required")
                    .ValidationMessages.Should.HaveCount(5));
        }

        [Test]
        public void Validation_Required_UsingExtensions()
        {
            Go.To<SignUpPage>()
                .SignUp.Click()
                .AggregateAssert(page => page
                    .ValidationMessages[x => x.FirstName].Should.BeRequired()
                    .ValidationMessages[x => x.LastName].Should.BeRequired()
                    .ValidationMessages[x => x.Email].Should.BeRequired()
{'fraction_non_alphanumeric': 0.1126005361930295, 'fraction_numerical': 0.0007659900421294523, 'mean_word_length': 1.9086859688195992, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '684165', 'n_tokens_mistral': 673, 'n_tokens_neox': 638, 'n_words': 100}