File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,12 @@ func TestViewRepo(t *testing.T) {
2828 resp := session .MakeRequest (t , req , http .StatusOK )
2929
3030 htmlDoc := NewHTMLParser (t , resp .Body )
31- repoTopics := htmlDoc .doc .Find ("#repo-topics" ).Children ()
31+ repoTopicsDesktop := htmlDoc .doc .Find ("#repo-topics-desktop" ).Children ()
32+ repoTopicsMobile := htmlDoc .doc .Find ("#repo-topics-mobile" ).Children ()
3233 repoSummary := htmlDoc .doc .Find (".repository-summary" ).Children ()
3334
34- assert .True (t , repoTopics .HasClass ("repo-topic" ))
35+ assert .True (t , repoTopicsDesktop .HasClass ("repo-topic" ))
36+ assert .True (t , repoTopicsMobile .HasClass ("repo-topic" ))
3537 assert .True (t , repoSummary .HasClass ("repository-menu" ))
3638
3739 req = NewRequest (t , "GET" , "/org3/repo3" )
You can’t perform that action at this time.
0 commit comments