agent_q 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/agent_q.rb +10 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 612dd3f5f91be2ce4a84d3e8bfc2d7ba3b2c0ae5017bd39e70c2e703d466ff82
4
- data.tar.gz: 402362ecf35acd0036dd0199fd7641700306a0fcc0eca4368f5d6923c70f7dc7
3
+ metadata.gz: c4ce08c28dbd1e06291fc6fca6b234453fc9031cdd17e72272e697cd6dc7b443
4
+ data.tar.gz: 4d51cfbe42772ca3f08df8124aa016d1e1ea3a4cc0cd77bcee86fb2bcbc67df6
5
5
  SHA512:
6
- metadata.gz: ade18a6dc9c09acfe15799bd8eaebedb53eb8348eac88234a730aa1fc7682b4f1bdb30e4b648e01a1530eae4b7d2c74711dbbddbd83785f6bde781c13171c144
7
- data.tar.gz: 96b777a3503d42fe8d79451d744caf3cf646c69924910fc0e296e78b04748c3fe8c3ced8d5c138938976d86a3374450928ee56ce9e71785839351b6fc99cd02a
6
+ metadata.gz: faad81af8c416e2e94b7210c6a046d4665d1afe5cbaebf83ccb8ae768e69935743815e2d513a06d79f7b511b97a1bfddd0fcb86e885bb57a5c23cbf3c8be8a05
7
+ data.tar.gz: c0bd9999879b9ac1a75d7bf3505e6aea169222fd718ce763bbf52bcf8260be354f1e635a6b64c5122dac6bfd684c3b61c5d68e4c7d33daca6550820bb4b8700c
data/lib/agent_q.rb CHANGED
@@ -27,13 +27,19 @@ class AgentQ
27
27
  # score the requested case
28
28
  visit("/case/#{@quepid_case}/try/0")
29
29
  #save_screenshot('quepid.png')
30
- fill_in('Email', with: @username)
31
- within(:xpath, "/html/body/div[3]/div/div/div[1]/div[1]/div/form") do
32
- fill_in('Password', with: @password)
30
+ within('#login') do
31
+ fill_in('user_email', with: @username)
32
+ fill_in('user_password', with: @password)
33
+
34
+ click_button('Sign in')
33
35
  end
36
+
37
+ #within(:xpath, "/html/body/div[3]/div/div/div[1]/div[1]/div/form") do
38
+ # fill_in('Password', with: @password)
39
+ #end
34
40
  #save_screenshot('quepid_login.png')
35
41
 
36
- click_button('Login')
42
+
37
43
 
38
44
  sleep(20)
39
45
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agent_q
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Pugh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-01 00:00:00.000000000 Z
11
+ date: 2021-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara