From b59593acf500486cab436aaa9b00f1c8d485bcb6 Mon Sep 17 00:00:00 2001 From: unikounio Date: Wed, 10 Apr 2024 21:06:42 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A6=E3=83=BC=E3=82=B6=E3=83=BC=E4=B8=80?= =?UTF-8?q?=E8=A6=A7=E3=81=AE=E7=B5=9E=E3=82=8A=E8=BE=BC=E3=81=BF=E3=82=BF?= =?UTF-8?q?=E3=83=96=E3=81=AE=E3=82=B7=E3=82=B9=E3=83=86=E3=83=A0=E3=83=86?= =?UTF-8?q?=E3=82=B9=E3=83=88=E3=82=92=E5=8A=B9=E7=8E=87=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/system/users_test.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/system/users_test.rb b/test/system/users_test.rb index bbb2638905c..d8da9b60789 100644 --- a/test/system/users_test.rb +++ b/test/system/users_test.rb @@ -655,8 +655,7 @@ class UsersTest < ApplicationSystemTestCase visit_with_auth '/users', 'komagata' click_link '現役 + 研修生' - assert_selector('a.tab-nav__item-link.is-active', text: '現役 + 研修生') - assert_text '現役 + 研修生' + assert_selector('h1.page-main-header__title', text: '現役 + 研修生') filtered_users = all('.users-item__icon .a-user-role') assert(filtered_users.all? do |user| classes = user[:class].split(' ') @@ -668,8 +667,7 @@ class UsersTest < ApplicationSystemTestCase visit_with_auth '/users', 'komagata' click_link '現役生' - assert_selector('a.tab-nav__item-link.is-active', text: '現役生') - assert_text '現役生' + assert_selector('h1.page-main-header__title', text: '現役生') filtered_users = all('.users-item__icon .a-user-role') assert(filtered_users.all? { |user| user[:class].split(' ').include?('is-student') }) end