Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vitiral committed Jul 5, 2017
1 parent bdcad79 commit 62aa486
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "artifact-app"
version = "0.8.0"
version = "0.8.1"
authors = ["Garrett Berg <vitiral@gmail.com>"]
description = "Artifact is a design doc tool made for developers. It allows anyone to\neasily write and link their design docs both to each other and to source code,\nmaking it easy to track how complete their project is.\nDocuments are revision controllable, can be rendered as a static\nweb page and have a full suite of command line tools for searching,\nformatting and displaying them.\n"
documentation = "http://vitiral.github.io/artifact/"
Expand Down
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ publish:
git diff --no-ext-diff --quiet --exit-code
@# test all and commit
just test-all
rustup run stable cargo test --features server
just build
git commit -a -m "v{{version}} release"
@# push to cargo
Expand Down
Binary file modified src/api/data/web-ui.tar
Binary file not shown.
4 changes: 2 additions & 2 deletions src/cmd/data/purpose.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ partof = "SPC-cmd"
text = '''
The questions **shall** be presented randomly.
Questions that are missed **shall** be given a higher weight to being asked
again, to help the user learn.
Questions that are answered incorrectly **shall** be given a higher weight to
being asked again, to help the user learn.
'''

[TST-cmd]
Expand Down
Binary file modified src/cmd/data/web-ui-static.tar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/cmd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn get_loglevel(matches: &ArgMatches) -> Option<(u8, bool)> {
let verbosity = match matches.occurrences_of("verbose") {
v @ 0...3 => v,
_ => {
eprintln!("ERROR: verbosity cannot be higher than 3");
println!("ERROR: verbosity cannot be higher than 3"); // TODO: change to eprintln
return None;
}
} as u8;
Expand Down
2 changes: 1 addition & 1 deletion web-ui/sel_tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def test_create(self):
assert app.driver.current_url == url + "/#create"

assert app.get_attr("save", "disabled", timeout=2) == 'true'
app.set_value(CREATE, F.name, name_raw, timeout=5)
app.set_value(CREATE, F.name, name_raw, timeout=2)
app.set_value(CREATE, F.raw_text, expected)
app.add_partof(CREATE, "REQ-purpose")
app.set_defined(CREATE, PURPOSE_PATH)
Expand Down
2 changes: 2 additions & 0 deletions web-ui/sel_tests/webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ def get_value(self, name, field, edit=False, timeout=None):
def set_value(self, name, field, value, timeout=None):
"""Set the value in an editable field and assert it gets set."""
elem = self.find_id(field_id(name, field, edit=True), timeout)
time.sleep(0.1)
elem.send_keys(Keys.LEFT_CONTROL, "a")
time.sleep(0.2)
elem.send_keys(value)
start = time.time()
while elem.get_attribute('value') != value:
Expand Down

0 comments on commit 62aa486

Please sign in to comment.