More documentation, clean up tests
diff --git a/t/remote.t b/t/remote.t
index e08bba2..30156ea 100644
--- a/t/remote.t
+++ b/t/remote.t
@@ -1,32 +1,29 @@
use Mojo::Base -strict;
use lib '../lib', 'lib';
-use Test::More;
+use Test::More skip_all => 'No remote tests';
use Test::Mojo;
my $t = Test::Mojo->new('Kalamar');
$t->get_ok('/')
->status_is(200)
- ->text_is('title', 'KorAP')
- ->text_like('h1 span', qr/Korpusanalyseplattform/i)
+ ->text_is('title', 'KorAP - Corpus Analysis Platform')
+ ->text_like('h1 span', qr/KorAP - Corpus Analysis Platform/i)
;
# Check paging
$t->get_ok('/?q=test')
- ->text_is('pre.query.serial span', 'JSON-LD Serialization for "test"')
- ->text_like('#total-results', qr/\d+ matches$/)
- ->element_exists('[title=Alignment]')
+ ->text_like('h1 span', qr/KorAP: Find "test"/i)
+ # ->text_is('pre.query.serial span', 'JSON-LD Serialization for "test"')
+ ->text_like('#total-results', qr/\d+$/)
->text_is('#pagination a[rel=self] span', 1)
;
# Check paging
$t->get_ok('/?q=test&p=2')
- ->text_is('pre.query.serial span', 'JSON-LD Serialization for "test"')
- ->text_like('#total-results', qr/\d+ matches$/)
+ # ->text_is('pre.query.serial span', 'JSON-LD Serialization for "test"')
+ ->text_like('#total-results', qr/\d+$/)
->text_is('#pagination a[rel=self] span', 2)
;
-# $t->get_ok('/tutorial?testing=1')
-# ->text_like('div.test p.pass', qr/Pass: [1-9]/)
-# ;
-
-done_testing();
+done_testing;
+__END__