title,body,link,tags,view_count,is_answered,score,answer_count
React Native Acceptance Testing,"<p>I have an application with react-native and i need build a valid .ipa or .app for iOS to execute acceptance test with appium and node. </p>

<p>At the moment i use the <code>react-native run-ios --configuration Release</code> command but in the continuous integration machine opens a new terminal window with an express process in watch mode:
<a href=""https://i.stack.imgur.com/5gHkm.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/5gHkm.png"" alt=""enter image description here""></a></p>

<p>How i can close this process? Or any argument to not openit </p>
",https://stackoverflow.com/questions/44371754/react-native-acceptance-testing,"['ios', 'reactjs', 'react-native', 'acceptance-testing', 'atdd']",216,FALSE,2,0
"Acceptance testing, docker and selenium","<p>I m trying to create some containers that aim to build my javascript application.</p>

<p>Here's what I need to do :</p>

<ul>
<li>Install my dependencies</li>
<li>Starting my unit tests</li>
<li>Building my project</li>
<li>Starting my acceptance tests</li>
</ul>

<p>Here's my project dockerfile :</p>

<pre><code>FROM node:6.9

# Enviroment variables
ENV HOMEDIR /data

RUN mkdir -p ${HOMEDIR}
WORKDIR ${HOMEDIR}

# install all dependencies
ADD package.json ./
RUN npm install

# add node content initially
ADD . .
CMD CI=true npm test &amp;&amp; npm run build &amp;&amp; npm run test:acceptance
</code></pre>

<p>The fact is that when I start my acceptance tests, I need to use a selenium server and a phantomjs browser. This way, and thanks to the stackoverflow community, I created a docker-compose.yml file that looks like :</p>

<pre><code>version: '2'
services:
  hub:
    image: selenium/hub
    ports:
      - ""4444:4444""
  phantomjs:
    image: akeem/selenium-node-phantomjs
    depends_on:
      - hub
    links:
      - hub
  app:
    build: .
    depends_on:
      - hub
      - phantomjs
</code></pre>

<p>My selenium-phantomjs well connects to my selenium/hub, and selenium is available at localhost:4444 on my host machine.</p>

<p>My real problem is that my tool to achieve acceptance testing (webdriverio) doesn't seem to be able to contact the selenium server, and I don't know why.</p>

<p>I'm having the following stack :</p>

<pre><code>app_1        | [08:24:07]  COMMAND  POST     ""/wd/hub/session""
app_1        | [08:24:07]  DATA     {""desiredCapabilities"":{""javascriptEnabled"":true,""locationContextEnabled"":true,""handlesAlerts"":true,""rotatable"":true,""maxInstances"":5,""browserName"":""phantomjs"",""loggingPrefs"":{""browser"":""ALL"",""driver"":""ALL""},""requestOrigins"":{""url"":""http://webdriver.io"",""version"":""4.6.1"",""name"":""webdriverio""}}}
app_1        | ERROR: Couldn't connect to selenium server
app_1        | phantomjs
app_1        | Error: Couldn't connect to selenium server
app_1        |
app_1        | Wrote xunit report to [./xunit].
</code></pre>

<p>Any suggestion ?</p>

<p>Thanks for your help</p>
",https://stackoverflow.com/questions/41609152/acceptance-testing-docker-and-selenium,"['selenium', 'docker', 'docker-compose', 'webdriver-io']",553,TRUE,2,1
Acceptance testing page with multiple users,"<p>I have a situation where I need to test multiple users accessing and updating a specific web page.  Its an auction page and I need to test up to three users bidding on the item, asserting that the browser shows the correct responses.</p>

<p>For example:</p>

<ul>
<li>user 1 logs in</li>
<li>user 2 logs in</li>
<li>user 3 logs in</li>
<li>user 1 bids - is winning</li>
<li>user 2 bids - is winning - user 1 is outbid and gets a notification</li>
<li>user 3 bids but not enough</li>
<li>user 3 bids again is winning - user 1 and user 2 get outbid notification</li>
</ul>

<p>At the moment I have a set of scripts that perform these steps in sequence, logging each user in and out each time a bid is performed.I'm using PHP and Codeception with PhantomJS to do this but the tests are taking minutes to run.</p>

<p>I'm looking for advice on </p>

<ol>
<li>the best approach to test this, and</li>
<li>tooling that can achieve testing the users in parallel.</li>
</ol>
",https://stackoverflow.com/questions/42228221/acceptance-testing-page-with-multiple-users,"['testing', 'integration-testing']",50,TRUE,1,1
ember.js: Acceptance testing with an ajax request,"<p>I'm writing an acceptance test where a user fills in a form and an ajax request is made to a third party resource. I'm mocking the request with <a href=""http://www.ember-cli-mirage.com/"" rel=""nofollow noreferrer"">Ember CLI Mirage</a>.</p>

<p>I'm writing a basic working example that I'll refactor after my tests pass. I know I need to abstract out my request into a service or utility but I don't like refactoring my code without a working test around it.</p>

<p>My code seems to work however, when I return a result that changes some content in the template, I can't get the test to pass.</p>

<p>It might be important to note: The third party API I am mocking out is not restful. </p>

<p>Here's the mirage config:</p>

<pre><code>export default function() {
  this.post('/LogonAction', () =&gt; {
    return {foo: 'bar'};
  });
}
</code></pre>

<p>I haven't set the canonical URL of the web service yet. It should be an external service.</p>

<p>And my component:</p>

<pre><code>import Ember from 'ember';

export default Ember.Component.extend({
  result: null,
  errors: null,
  usernameTextChanged: function() { this.reset(); }.observes('username'),
  passwordTextChanged: function() { this.reset(); }.observes('password'),
  reset() {
    this.set('errors', null);
    this.set('result', null);
  },
  actions: {
    sync() {
      this.reset();

      // TODO abstract out validation and add more use cases
      if(this.get('username') === undefined || this.get('password') === undefined) {
        this.set('errors', 'Please fill out the form');
      }
      else {
        let params = { userId: this.get('username'), passwd: this.get('password') }

        this.set('test', 'foos'); //just checking...

        // TODO abstract out into a utility and move config values into config
        Ember.$.post('/LogonAction', params).then((r) =&gt; {
          // When I run tests, this renders to console.
          console.log('promise happened 1', r, this.get('result')); 
          // Fails here. I don't know why.
          this.set('result', true);
          // This does not execute
          console.log('promise happened 2', this.get('result'));
        });
      }
    }
  }
});
</code></pre>

<p>You'll see that I output to console twice so I can debug it. I am not sure this is the right way to debug while I am writing tests.</p>

<p>This is my template:</p>

<pre><code>&lt;form id=""logon"" {{action 'sync' on='submit'}}&gt;
  {{input value=username type=""text"" class=""username"" placeholder=""Your username""}}
  {{input value=password type=""password"" class=""password""}}
  &lt;button&gt;Click me&lt;/button&gt;

  [[{{test}}]] &lt;!-- this is just debugging --&gt;

  {{#if result}}
    &lt;div id=""result""&gt;Sync complete&lt;/div&gt;
  {{/if}}
  {{#if errors}}
    &lt;div id=""result""&gt;{{errors}}&lt;/div&gt;
  {{/if}}
&lt;/form&gt;
</code></pre>

<p>And finally, my test:</p>

<pre><code>test('logging in', assert =&gt; {
  server.createList('LogonAction', 0);
  visit('/');

  console.log(0);

  fillIn('input.username', 'foo');
  fillIn('input.password', 'bar');
  click('button');

  console.log(1);

  andThen(() =&gt; {
    // The above console logs have happened.
    // It does not have the div#result tag in it!
    console.log(find('#logon').html());
    assert.equal(find('#result').text(), 'Sync complete'); // fails.
  });
});
</code></pre>

<p>The console logging (I think) tells me that the promise is resolved before I assert that the page shows the result to the user. But I can't get this to pass! As soon as I set the value of <code>result</code>, it fails.</p>

<p>Any help, much appreciated.</p>
",https://stackoverflow.com/questions/44711937/ember-js-acceptance-testing-with-an-ajax-request,"['ajax', 'ember.js', 'tdd', 'acceptance-testing', 'ember-cli-mirage']",667,FALSE,0,1
Ember Acceptance testing: check that button isEnabled,"<p>I'm new to ember in general and trying to check (in my Acceptance test), whether a submit button is enabled after entering a valid email. I tried:</p>

<pre><code>test('Typing email enables button', function(assert){
  visit('/');
  var theBtn = find('.btn-primary');
  fillIn('.ember-text-field', 'user@userfakemail.com');
  andThen(function(){ 
    assert.equal(theBtn.isEnabled(), true);
  });
});
</code></pre>

<p>But this doesn't work. And in the guides I could not find what methods were possible with <code>find()</code>.</p>
",https://stackoverflow.com/questions/46779245/ember-acceptance-testing-check-that-button-isenabled,"['ember.js', 'ember-cli', 'acceptance-testing']",1083,FALSE,2,1
Ember acceptance testing - async side effects error,"<p>Attempting to run acceptance tests in Ember:</p>

<pre><code>test('successful login', (assert) =&gt; {

  Ember.run(() =&gt; {
    visit('/signin');
    fillIn('#email', 'validemail@server.com');
    fillIn('#password', 'password');
    click(':submit');

    andThen(function() {
      assert.equal(currentURL(), '/');
    });
  });
});
</code></pre>

<p>Occasionally (and seemingly randomly) yields the error:</p>

<p>""Global error: Error: Assertion Failed: You have turned on testing mode, which disabled the run-loop's autorun. You will need to wrap any code with asynchronous side-effects in a run...""</p>

<p>I was able to get a working version:</p>

<pre><code>test('successful login', (assert) =&gt; {
  const done = assert.async();

  Ember.run(() =&gt; {
    visit('/signin').then(() =&gt; {
      fillIn('#email', 'isaac@silverorange.com').then(() =&gt; {
        fillIn('#password', 'keen').then(() =&gt; {
          click(':submit').then(() =&gt; {
            assert.equal(currentURL(), '/');
            done();
          });
        });
      });
    });
  });
});
</code></pre>

<p>However, if I include a second test making use of the same route (for an unsuccessful login), one of them almost always ends up with the error listed above.</p>

<p>I am wondering what I am not understanding about the run-loop, Ember.run, and how to test with async behavior.  Any help or pointers towards a good resource would be greatly appreciated!</p>
",https://stackoverflow.com/questions/41731022/ember-acceptance-testing-async-side-effects-error,"['ember.js', 'qunit', 'acceptance-testing', 'ember-testing']",559,FALSE,1,2
"In clean architecture, How to do acceptance testing?","<p>In Android, I'm using clean architecture and putting my code packaged by layer. So I've 4 layers <strong>(modules)</strong> :</p>

<ul>
<li>app </li>
<li>data</li>
<li>device </li>
<li>domain</li>
</ul>

<p>I know, correct me if I'm wrong, that acceptance testing <strong>(Using FitNesse)</strong> should replace UI in better words, it should mimic UI and test core functions of the system from customer's point of view. </p>

<p>My Question is : </p>

<p><strong>Should I</strong> create another module for FitNesse fixtures and stuff, with dependencies on each module in the system?</p>
",https://stackoverflow.com/questions/45785948/in-clean-architecture-how-to-do-acceptance-testing,"['android', 'fitnesse', 'acceptance-testing', 'clean-architecture']",277,TRUE,-1,1
May Codeception do Acceptance Testing to Element Style,"<p>I want to to do Acceptance Testing By Codeception . I want to  assert a element Style . </p>

<pre><code>&lt;div id=""test"" style=""width:120px; height:100px""&gt;Test&lt;/div&gt;
</code></pre>

<p>I want to check this div, it's width is 120px. May Codeception can Testing that case . </p>

<p>How can I do ?
Thank You.</p>
",https://stackoverflow.com/questions/46312967/may-codeception-do-acceptance-testing-to-element-style,['codeception'],451,TRUE,0,1
How to refactor static constructor to enable unit / acceptance testing,"<p>In my acceptance test for a service, I'm setting up the testee as follows:</p>

<pre><code>var dataService = A.Fake&lt;IDataService&gt;();
this.domainRepository = A.Fake&lt;IDomainRepository&gt;();
var dbContextArticles = A.Fake&lt;IDbContextArticles&gt;();

this.testee = new DomainService(dataService, this.domainRepository, dbContedbContextArticles xtArtikel);
</code></pre>

<p>This setup unfortunately fails, because.</p>

<ol>
<li>The <code>DomainService</code> class inherits from <code>BaseDataService</code>.</li>
<li><code>BaseDataService</code> has a static constructor that looks like this:<br>
<code>DbContext.LoadTranslations();</code></li>
<li>And <code>DbContext.LoadTranslations();</code> looks like this:<br>
<code>using (DomainEntities entities = new DomainEntities(DbBase.ConnectionString))
{ ... }</code></li>
</ol>

<p>So when I create an instance of <code>DomainService</code> it fails, because of couse in my acceptance test there is no connection string defined since I don't want to use the real database. </p>

<p>According to a comment, the translations have to be loaded in the static constructor or otherwise it gets loaded 8 times when searching for an article...</p>

<ul>
<li>Do you have any proposals how I can refactor this so that the acceptance test uses a fake context?</li>
</ul>

<p>I tried introducing a <code>ContextFactory</code> but the problem is, that the static constructor of <code>BaseDataService</code> calls the static method <code>DbContext.LoadTranslations()</code> so I can't inject a <code>IContextFactory</code> into <code>DbContext</code> because this constructor isn't even called...</p>

<p>Thanks for any advice.</p>
",https://stackoverflow.com/questions/46401628/how-to-refactor-static-constructor-to-enable-unit-acceptance-testing,"['c#', '.net', 'refactoring']",122,FALSE,4,0
How to get feedback from saga handler using NServiceBus Acceptance Testing,"<p><strong>Background</strong></p>

<p>I have written a test that makes sure that the command that should start my saga effectively creates the saga and that it's handler code can be executed:</p>

<pre><code>[Fact]
public async Task Can_Start_Saga_And_Execute_Handler()
{
    var result = await Scenario
        .Define&lt;Context&gt;()
        .WithEndpoint&lt;Endpoint&gt;(b =&gt; b.When(session =&gt;
            {
                return session.SendLocal(new SagaStarter());
            })
        )
        .Done(context =&gt; context.IsRequested)
        .Run(Testing.MaxRunTime);

    result.IsRequested.ShouldBeTrue();
}
</code></pre>

<p>Where Context is:</p>

<pre><code>class Context : ScenarioContext
{
    public bool IsRequested { get; set; }
}
</code></pre>

<p><strong>So</strong></p>

<p>If I have a handler in my saga definition like so:</p>

<pre><code>public async Task Handle(SagaStarter message, IMessageHandlerContext context)
{
    await StuffToDo();
}
</code></pre>

<blockquote>
  <p>How can I ensure that the <code>IsRequested</code> property, defined in
  <code>Context</code>, is set to true from within the saga?</p>
</blockquote>
",https://stackoverflow.com/questions/42721831/how-to-get-feedback-from-saga-handler-using-nservicebus-acceptance-testing,"['c#', '.net', 'nservicebus', 'xunit', 'acceptance-testing']",141,TRUE,0,1
Is it ok to reset database on running programs in acceptance testing?,"<p>I have a system of multiple ruby applications. Full stop and start of this system takes about 2 minutes. I decided to make my apps fault-tolerant to DB downs, so when I drop databases and restore them my apps don't fail.</p>

<p>Is it normal? Are there any pitfalls?</p>
",https://stackoverflow.com/questions/45080886/is-it-ok-to-reset-database-on-running-programs-in-acceptance-testing,"['ruby', 'microservices', 'acceptance-testing']",70,TRUE,-1,1
"Ember 2, acceptance testing, websocket pending hangs andThen() wating for pending to finish","<p>I'm starting for the first time in Acceptance testing my Ember application.</p>

<p>So I started from <strong>login</strong> with this:</p>

<p><em>test/acceptance/login-test.js</em>:</p>

<pre><code>import { test } from ""qunit"";
import moduleForAcceptance from ""myapp/tests/helpers/module-for-acceptance"";

moduleForAcceptance(""Acceptance | login"");

test(""Should login"", function(assert) {
  visit(""/login"");
  fillIn(""input[type=email]"", ""user@email.com"");
  fillIn(""input[type=password]"", ""userpass"");
  click(""button[type=submit]"");

  andThen(() =&gt; {
    assert.equal(currentURL(), ""/"");
    assert.equal(find(""h1"").text(), ""Hello!"");
  });
});
</code></pre>

<p>It <strong>never goes</strong> in <code>andThen()</code>, so it hangs on <code>click(""button[type=submit]"");</code>.</p>

<p>I understand why.</p>

<p>In my <em>app/templates/index.hbs</em> I have a component <strong>notifications</strong> which rely on a websocket which is constantly in pending in my single page application (if I open Chrome there is a pending websocket call...).</p>

<p>If I remove this component from my <em>index.hbs</em> everything works as expected.</p>

<p>After the login I should tell to <code>andThen()</code> helper to ignore the pending state of that <code>service('notifications')</code> which is constantly in pending state?</p>

<p><strong>How to do?</strong></p>
",https://stackoverflow.com/questions/46015141/ember-2-acceptance-testing-websocket-pending-hangs-andthen-wating-for-pendin,"['sockets', 'ember.js', 'websocket', 'ember-cli', 'acceptance-testing']",146,TRUE,1,1
How to bypass middleware when using Codeception with Laravel 5.3 for acceptance testing?,"<p>The application's authentication is using 2 factor authentication, which makes automating the testing difficult.Can I disable middleware for Acceptance Test using codeception?  </p>
",https://stackoverflow.com/questions/42303716/how-to-bypass-middleware-when-using-codeception-with-laravel-5-3-for-acceptance,"['php', 'laravel', 'testing', 'codeception']",470,FALSE,1,1
"If you are ensuring a system is producing correct outputs based on inputs, what type of testing would you apply?","<p>If you are ensuring a system is producing correct outputs based on inputs, what type of testing would you apply?</p>

<p>For example, your business has a time sheet system. The only modifications you make to the system entails users must input their time on a daily basis, and that the system generated reports on a daily basis, rather than weekly?</p>

<p>Is it fair to say this would entail:</p>

<ul>
<li>System testing</li>
<li>Acceptance testing</li>
<li>(alternatively combined acceptance testing)</li>
</ul>

<p>Thoughts?</p>
",https://stackoverflow.com/questions/43381267/if-you-are-ensuring-a-system-is-producing-correct-outputs-based-on-inputs-what,"['testing', 'system', 'cat', 'uat']",14,FALSE,0,1
Page Object Model or JavaScript testing alternatives?,"<p>Is the Page Object Model still the best way to automate web applications ?</p>

<p>For me the Screenplay pattern seems a nicer way to manage it.</p>

<p>Or using JavaScript alternatives like Acceptance Testing with Cucumber.js &amp; WebdriverIO for example.</p>
",https://stackoverflow.com/questions/41716267/page-object-model-or-javascript-testing-alternatives,"['javascript', 'webdriver', 'cucumberjs']",364,TRUE,0,1
Does CodeShip support multi-/cross-container testing?,"<p>I'm looking for a CI solution that allows me to do acceptance testing across my app's multiple container-based services.  Does CodeShip support that?</p>

<p>I have put in a request to discuss this with their sales dept but their documentation led me to believe this was a better place for the question.</p>
",https://stackoverflow.com/questions/43214171/does-codeship-support-multi-cross-container-testing,['codeship'],23,FALSE,0,0
Guzzle is very slow to access local webpage,"<p>I'm just getting started with <code>Guzzle</code> for acceptance testing an API using <code>PHPUnit</code>. The API resides on my local machine, but still the response time for <code>Guzzle</code> is ~5 seconds! When I'm using a browser it loads the website ""instantly"", leading me to believe that it's a problem with either <code>Guzzle</code> or <code>cURL</code>.</p>

<p>Here is my test unit:</p>

<pre><code>class MyTest extends \PHPUnit_Framework_TestCase {

    /** @var  GuzzleHttp\Client */
    private $http;

    protected function setUp() {
        $this-&gt;http = new GuzzleHttp\Client(['base_uri' =&gt; 'http://test-site.local']);
    }

    protected function tearDown() {
        $this-&gt;http = null;
    }

    public function testGet() {
        $response = $this-&gt;http-&gt;request('GET', 'users');

        $this-&gt;assertEquals(200, $response-&gt;getStatusCode());

        $contentType = $response-&gt;getHeaders()[""Content-Type""][0];
        $this-&gt;assertStringStartsWith(""application/json"", $contentType);
    }
}
</code></pre>

<p>What could cause the long response time? </p>
",https://stackoverflow.com/questions/42051523/guzzle-is-very-slow-to-access-local-webpage,"['curl', 'phpunit', 'localhost', 'guzzle']",1334,TRUE,0,1
How to include multiple app URLs in manifest for over-the-air installation,"<p>Internally I have a 4-step process for testing (each is an environment): dev, build test, user acceptance testing and production. </p>

<p>Currently, I'm not using TestFlight and am having to create a manifest with the respective URL given each environment above. There's repetitive work.</p>

<p>Is there a way support multiple app URLs inside the manifest for over the air installation? Can I do it without TestFlight?</p>
",https://stackoverflow.com/questions/42496838/how-to-include-multiple-app-urls-in-manifest-for-over-the-air-installation,"['ios', 'xcode', 'provisioning-profile', 'enterprise', 'ipa']",599,FALSE,0,1
Microsoft VSTS Set Default Work Item State After Pull Request Completes,"<p>I currently use Microsoft VSTS as my teams primary project management system and I have run into an issue.  Currently we have user stories that we create pull requests against, once a pull request is completed the linked work item(s) get set to a ""closed"" stated instead of a ""resolved"" state.  We do not currently have our test engineers tests out features/user stories in a separate environment that is defined by the pull request'ed code, we do all our acceptance testing in our development branch.  Any help would be great.</p>
",https://stackoverflow.com/questions/47057911/microsoft-vsts-set-default-work-item-state-after-pull-request-completes,['azure-devops'],3783,TRUE,10,2
Ember confused on testing route hooks and actions,"<p>I am just starting looking at testing with Ember and I am bit confused on how to test the following:</p>

<p>1 - Route hooks</p>

<p>Here's an example what I have, I am not sure if should be done through unit testing or user acceptance testing? How do I triggers the hooks, wait the promise etc.?</p>

<pre><code>/**
 * Model hook.
 */
model() {
    return this.modelFor('new');
},

/**
 * AfterModel hook.
 */
afterModel() {
    /**
     * Setup provinces.
     */
    return new Ember.RSVP.Promise((resolve) =&gt; {
        const provinces = Ember.A([
            Ember.Object.create({
                code: 'AB',
                description: 'Alberta'
            }),
            Ember.Object.create({
                code: 'BC',
                description: 'British Columbia'
            }),
            Ember.Object.create({
                code: 'MB',
                description: 'Manitoba'
            }),
            Ember.Object.create({
                code: 'NB',
                description: 'New Brunswick'
            }),
            Ember.Object.create({
                code: 'NL',
                description: 'Newfoundland and Labrador'
            }),
            Ember.Object.create({
                code: 'NS',
                description: 'Nova Scotia'
            }),
            Ember.Object.create({
                code: 'NT',
                description: 'Northwest Territories'
            }),
            Ember.Object.create({
                code: 'NU',
                description: 'Nunavut'
            }),
            Ember.Object.create({
                code: 'ON',
                description: 'Ontario'
            }),
            Ember.Object.create({
                code: 'PE',
                description: 'Prince Edward Island'
            }),
            Ember.Object.create({
                code: 'QC',
                description: 'Quebec'
            }),
            Ember.Object.create({
                code: 'SK',
                description: 'Saskatchewan'
            }),
            Ember.Object.create({
                code: 'YK',
                description: 'Yukon'
            })
        ]);
        resolve(provinces);
    }).then((provinces) =&gt; {
        this.set('provinces', provinces);
    });
},

/**
 * Setup controller hook.
 * @param controller the controller
 * @param model The model
 */
setupController(controller, model) {
    this._super(controller, model);
    controller.set('provinces', this.get('provinces'));
}
</code></pre>

<p>2 - Controller/Route Actions</p>

<p>Here I mostly just either going to different route or displaying error message, is this something that should be unit tested? if so how? </p>

<pre><code>actions: {
    /**
     * Go previous step
     */
    back() {
        this.transitionToRoute('new.step1');
    },
    /**
     * Go to next step.
     */
    next() {
        this.get('model').save().then(() =&gt; {
            this.transitionToRoute('new.step3');
        }).catch(() =&gt; {
            this.get('notificationService')
                .notifyError('common.error.system_error');
        });
    }
}
</code></pre>
",https://stackoverflow.com/questions/41875368/ember-confused-on-testing-route-hooks-and-actions,"['ember.js', 'ember-qunit']",509,TRUE,3,1
Nightwatch js concurrent tests dependent upon login test,"<p>I am setting up my end to end (acceptance) testing, but have a question in regards to chaining tests.<br>
All of my tests will be dependent upon an initial login test.  Obviously if the test user successfully logs in, then do the other tests. After logging in, I'd like to run several other tests concurrently if possible. The other tests do not need to be linear (the test user just needs to be logged in). 
How should I structure my tests for this?</p>
",https://stackoverflow.com/questions/43215371/nightwatch-js-concurrent-tests-dependent-upon-login-test,"['nightwatch.js', 'acceptance-testing', 'saucelabs']",349,FALSE,0,1
I cannot get the latest meteor todos example chimp acceptance test to work on mac osx 10.11.16 with chrome Version 59.0.3071.86,"<p>I am running on OSX 10.11.6 with Chrome Version 59.0.3071.86 (Official Build) (64-bit) and I have downloaded and installed the latest meteor todos app, and following the tutorial performed the unit and integration testing examples successfully. When I try the chimp acceptance test and use --debug in the output I get the first log below which indicates a browser incompatibility. After changing the 
node_modules/chimp/dist/bin/default.js seleniumStandaloneOptions 
like this (notice version: 2.30)...</p>

<pre><code>  seleniumStandaloneOptions: {
    // check for more recent versions of selenium here:
    // http://selenium-release.storage.googleapis.com/index.html
    version: '3.0.1',
    baseURL: 'https://selenium-release.storage.googleapis.com',
    drivers: {
      chrome: {
        // check for more recent versions of chrome driver here:
        // http://chromedriver.storage.googleapis.com/index.html
        //version: '2.25',
        version: '2.30',
        arch: process.arch,
        baseURL: 'https://chromedriver.storage.googleapis.com'
      },
</code></pre>

<p>.....
I get the second log below. 
I do see a window flash briefly then go away - too fast to see what it is doing. There is no output on the meteor console either. I have tried many different options but cannot seem to make this work, and do not seem to know how to debug it. Do any of you have any other ideas or debugging help? The browser can exercise the todos app on localhost:3000 with no apparent problems. There are no console errors in the browser while it is accessing the todos app. 
I would really appreciate any insight anyone has. Thanks.</p>

<p>First log.....</p>

<pre><code>$chimp --ddp=http://localhost:3000 --test --mocha --path=tests --debug
[chimp] Chimp options are { watch: false,
  watchTags: '@watch,@focus',
  domainSteps: null,
  e2eSteps: null,
  fullDomain: false,
  domainOnly: false,
  e2eTags: '@e2e',
  watchWithPolling: false,
  server: false,
  serverPort: 8060,
  serverHost: 'localhost',
  sync: true,
  offline: false,
  showXolvioMessages: true,
  'fail-when-no-tests-run': false,
  path: './features',
  format: 'pretty',
  tags: '~@ignore',
  singleSnippetPerFile: true,
  recommendedFilenameSeparator: '_',
  chai: false,
  screenshotsOnError: false,
  screenshotsPath: '.screenshots',
  captureAllStepScreenshots: false,
  saveScreenshotsToDisk: true,
  saveScreenshotsToReport: false,
  jsonOutput: null,
  compiler: 'js:/usr/local/lib/node_modules/chimp/dist/lib/babel-register.js',
  conditionOutput: true,
  browser: null,
  platform: 'ANY',
  name: '',
  user: '',
  key: '',
  port: null,
  host: null,
  webdriverio: 
   { desiredCapabilities: {},
     logLevel: 'silent',
     host: '127.0.0.1',
     port: 4444,
     path: '/wd/hub',
     baseUrl: null,
     coloredLogs: true,
     screenshotPath: null,
     waitforTimeout: 500,
     waitforInterval: 250 },
  seleniumStandaloneOptions: 
   { version: '3.0.1',
     baseURL: 'https://selenium-release.storage.googleapis.com',
     drivers: { chrome: [Object], ie: [Object], firefox: [Object] } },
  noSessionReuse: false,
  simianResultEndPoint: 'api.simian.io/v1.0/result',
  simianAccessToken: false,
  simianResultBranch: null,
  simianRepositoryId: null,
  mocha: false,
  mochaCommandLineOptions: { bail: true },
  mochaConfig: 
   { tags: '',
     grep: null,
     timeout: 60000,
     reporter: 'spec',
     slow: 10000,
     useColors: true },
  jasmine: false,
  jasmineConfig: 
   { specDir: '.',
     specFiles: [ '**/*@(_spec|-spec|Spec).@(js|jsx)' ],
     helpers: [ 'support/**/*.@(js|jsx)' ],
     stopSpecOnExpectationFailure: false,
     random: false },
  jasmineReporterConfig: {},
  ddp: false,
  serverExecuteTimeout: 10000,
  phantom_w: 1280,
  phantom_h: 1024,
  phantom_ignoreSSLErrors: false,
  log: 'info',
  debug: false,
  seleniumDebug: null,
  debugCucumber: null,
  debugBrkCucumber: null,
  debugMocha: null,
  debugBrkMocha: null }

Chimp version:  0.49.0
ChromeDriver version:  ChromeDriver 2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262)
Java version:  java version ""1.8.0_66"", Java(TM) SE Runtime Environment (build 1.8.0_66-b17), Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
Selenium version:  3.0.1
Selenium drivers version:  chrome: 2.25, ie: 2.50.0, firefox: 0.11.1
OS version:  Darwin 15.6.0
Node version:  v6.11.0
[chimp][browserdriver] starting process
[chimp][browserdriver.stdout] Starting ChromeDriver 2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262) on port 52347
Only local connections are allowed.

[chimp][browserdriver] started successfully
[chimp][browserdriver] kill called on browserdriver process with pid 48946
[chimp][browserdriver] checking if process exists
[chimp][browserdriver] browserdriver process exists, killing it with SIGTERM
[chimp][browserdriver] waiting for process to die (0/10)
[chimp][browserdriver] process is dead
Browser version:  chrome undefined

[chimp] Running...
[chimp] interrupting
[chimp] no processes to interrupt
[chimp][chromedriver] starting process
[chimp][chromedriver.stdout] Starting ChromeDriver 2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262) on port 52347
Only local connections are allowed.

[chimp][chromedriver] started successfully
[chimp][mocha] Running...


[chimp][helper] Using the chai-expect assertion library
[chimp][ddp] creating DDP wrapper
[chimp][ddp] Connecting to DDP server { host: 'localhost',
  port: '3000',
  ssl: false,
  path: undefined,
  autoReconnect: true,
  autoReconnectTimer: 500,
  maintainCollections: true,
  ddpVersion: '1',
  useSockJs: true }
[chimp][ddp] creating DDP wrapper
[chimp][ddp] Connecting to DDP server { host: 'localhost',
  port: '3000',
  ssl: false,
  path: undefined,
  autoReconnect: true,
  autoReconnectTimer: 500,
  maintainCollections: true,
  ddpVersion: '1',
  useSockJs: true }
[chimp][helper] getting browser
[chimp][session-manager-factory] options are { host: 'localhost',
  port: 52347,
  user: undefined,
  key: undefined,
  browser: 'chrome',
  deviceName: undefined }
[chimp][session-manager] created a new SessionManager
[chimp][helper] webdriverioOptions are  {""desiredCapabilities"":{""browserName"":""chrome"",""platform"":""ANY"",""name"":""""},""logLevel"":""verbose"",""host"":""localhost"",""port"":52347,""path"":""/wd/hub"",""baseUrl"":null,""coloredLogs"":true,""screenshotPath"":null,""waitforTimeout"":500,""waitforInterval"":250,""sync"":true}
[chimp][session-manager] creating webdriver remote 
[chimp][session-manager] checking connection to selenium server
[15:10:45]  COMMAND GET      ""/wd/hub/status""
[15:10:45]  DATA        {}
[15:10:45]  RESULT      {""build"":{""version"":""alpha""},""os"":{""arch"":""x86_64"",""name"":""Mac OS X"",""version"":""10.11.6""}}
[chimp][session-manager] Connection to the to selenium server verified
[chimp][session-manager] watch mode is false, not reusing a session
[chimp][hooks] init browser
[chimp][hooks] init browser callback
[15:10:45]  COMMAND POST     ""/wd/hub/session""
[15:10:45]  DATA        {""desiredCapabilities"":{""javascriptEnabled"":true,""locationContextEnabled"":true,""handlesAlerts"":true,""rotatable"":true,""browserName"":""chrome"",""platform"":""ANY"",""name"":"""",""loggingPrefs"":{""browser"":""ALL"",""driver"":""ALL""},""requestOrigins"":{""url"":""http://webdriver.io"",""version"":""4.6.2"",""name"":""webdriverio""}}}
[chimp][helper] setupBrowserAndDDP had error
{ Error: session not created exception: Chrome version must be &gt;= 58.0.3029.0
    at initBrowser (/usr/local/lib/node_modules/chimp/dist/lib/chimp-helper.js:189:43)
    at Object.setupBrowserAndDDP (/usr/local/lib/node_modules/chimp/dist/lib/chimp-helper.js:264:7)
    at Context.&lt;anonymous&gt; (/usr/local/lib/node_modules/chimp/dist/lib/mocha/mocha-helper.js:13:15)
    at /usr/local/lib/node_modules/chimp/dist/lib/utils/fiberize.js:29:22
    (Driver info: chromedriver=2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262),platform=Mac OS X 10.11.6 x86_64)
  message: 'session not created exception: Chrome version must be &gt;= 58.0.3029.0\n  (Driver info: chromedriver=2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262),platform=Mac OS X 10.11.6 x86_64)',
  type: 'RuntimeError',
  seleniumStack: 
   { status: 33,
     type: 'SessionNotCreatedException',
     message: 'A new session could not be created.',
     orgStatusMessage: 'session not created exception: Chrome version must be &gt;= 58.0.3029.0\n  (Driver info: chromedriver=2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262),platform=Mac OS X 10.11.6 x86_64)' } }
Error: session not created exception: Chrome version must be &gt;= 58.0.3029.0
    at initBrowser (/usr/local/lib/node_modules/chimp/dist/lib/chimp-helper.js:189:43)
    at Object.setupBrowserAndDDP (/usr/local/lib/node_modules/chimp/dist/lib/chimp-helper.js:264:7)
    at Context.&lt;anonymous&gt; (/usr/local/lib/node_modules/chimp/dist/lib/mocha/mocha-helper.js:13:15)
    at /usr/local/lib/node_modules/chimp/dist/lib/utils/fiberize.js:29:22
    (Driver info: chromedriver=2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262),platform=Mac OS X 10.11.6 x86_64)
[chimp][mocha] Closed with code 2
[chimp][mocha] Mocha not in a stopping state
[chimp] Finished running async processes with errors
[chimp] run complete with errors Mocha failed
[chimp] interrupting
[chimp] 2 processes to interrupt
[chimp][mocha] interrupting mocha
[chimp][mocha] kill called on mocha process with pid 48957
[chimp][mocha] checking if process exists
[chimp][mocha] mocha process does not exists, ignoring
[chimp][chromedriver] interrupt called
[chimp][chromedriver] stopping process
[chimp][chromedriver] kill called on chromedriver process with pid 48956
[chimp][chromedriver] checking if process exists
[chimp][chromedriver] chromedriver process exists, killing it with SIGTERM
Mocha failed
Error in chimp init Mocha failed
</code></pre>

<p>.......
Second log with chromedriver v 2.30.....</p>

<pre><code>$chimp --ddp=http://localhost:3000 --test --mocha --path=tests --debug
[chimp] Chimp options are { watch: false,
  watchTags: '@watch,@focus',
  domainSteps: null,
  e2eSteps: null,
  fullDomain: false,
  domainOnly: false,
  e2eTags: '@e2e',
  watchWithPolling: false,
  server: false,
  serverPort: 8060,
  serverHost: 'localhost',
  sync: true,
  offline: false,
  showXolvioMessages: true,
  'fail-when-no-tests-run': false,
  path: './features',
  format: 'pretty',
  tags: '~@ignore',
  singleSnippetPerFile: true,
  recommendedFilenameSeparator: '_',
  chai: false,
  screenshotsOnError: false,
  screenshotsPath: '.screenshots',
  captureAllStepScreenshots: false,
  saveScreenshotsToDisk: true,
  saveScreenshotsToReport: false,
  jsonOutput: null,
  compiler: 'js:/usr/local/lib/node_modules/chimp/dist/lib/babel-register.js',
  conditionOutput: true,
  browser: null,
  platform: 'ANY',
  name: '',
  user: '',
  key: '',
  port: null,
  host: null,
  webdriverio: 
   { desiredCapabilities: {},
     logLevel: 'silent',
     host: '127.0.0.1',
     port: 4444,
     path: '/wd/hub',
     baseUrl: null,
     coloredLogs: true,
     screenshotPath: null,
     waitforTimeout: 500,
     waitforInterval: 250 },
  seleniumStandaloneOptions: 
   { version: '3.0.1',
     baseURL: 'https://selenium-release.storage.googleapis.com',
     drivers: { chrome: [Object], ie: [Object], firefox: [Object] } },
  noSessionReuse: false,
  simianResultEndPoint: 'api.simian.io/v1.0/result',
  simianAccessToken: false,
  simianResultBranch: null,
  simianRepositoryId: null,
  mocha: false,
  mochaCommandLineOptions: { bail: true },
  mochaConfig: 
   { tags: '',
     grep: null,
     timeout: 60000,
     reporter: 'spec',
     slow: 10000,
     useColors: true },
  jasmine: false,
  jasmineConfig: 
   { specDir: '.',
     specFiles: [ '**/*@(_spec|-spec|Spec).@(js|jsx)' ],
     helpers: [ 'support/**/*.@(js|jsx)' ],
     stopSpecOnExpectationFailure: false,
     random: false },
  jasmineReporterConfig: {},
  ddp: false,
  serverExecuteTimeout: 10000,
  phantom_w: 1280,
  phantom_h: 1024,
  phantom_ignoreSSLErrors: false,
  log: 'info',
  debug: false,
  seleniumDebug: null,
  debugCucumber: null,
  debugBrkCucumber: null,
  debugMocha: null,
  debugBrkMocha: null }

Chimp version:  0.49.0
ChromeDriver version:  ChromeDriver 2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262)
Java version:  java version ""1.8.0_66"", Java(TM) SE Runtime Environment (build 1.8.0_66-b17), Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
Selenium version:  3.0.1
Selenium drivers version:  chrome: 2.25, ie: 2.50.0, firefox: 0.11.1
OS version:  Darwin 15.6.0
Node version:  v6.11.0
[chimp][browserdriver] starting process
[chimp][browserdriver.stdout] Starting ChromeDriver 2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262) on port 52418
Only local connections are allowed.

[chimp][browserdriver] started successfully
[chimp][browserdriver] kill called on browserdriver process with pid 49380
[chimp][browserdriver] checking if process exists
[chimp][browserdriver] browserdriver process exists, killing it with SIGTERM
[chimp][browserdriver] waiting for process to die (0/10)
[chimp][browserdriver] process is dead
Browser version:  chrome undefined

[chimp] Running...
[chimp] interrupting
[chimp] no processes to interrupt
[chimp][chromedriver] starting process
[chimp][chromedriver.stdout] Starting ChromeDriver 2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262) on port 52418
Only local connections are allowed.

[chimp][chromedriver] started successfully
[chimp][mocha] Running...


[chimp][helper] Using the chai-expect assertion library
[chimp][ddp] creating DDP wrapper
[chimp][ddp] Connecting to DDP server { host: 'localhost',
  port: '3000',
  ssl: false,
  path: undefined,
  autoReconnect: true,
  autoReconnectTimer: 500,
  maintainCollections: true,
  ddpVersion: '1',
  useSockJs: true }
[chimp][ddp] creating DDP wrapper
[chimp][ddp] Connecting to DDP server { host: 'localhost',
  port: '3000',
  ssl: false,
  path: undefined,
  autoReconnect: true,
  autoReconnectTimer: 500,
  maintainCollections: true,
  ddpVersion: '1',
  useSockJs: true }
[chimp][helper] getting browser
[chimp][session-manager-factory] options are { host: 'localhost',
  port: 52418,
  user: undefined,
  key: undefined,
  browser: 'chrome',
  deviceName: undefined }
[chimp][session-manager] created a new SessionManager
[chimp][helper] webdriverioOptions are  {""desiredCapabilities"":{""browserName"":""chrome"",""platform"":""ANY"",""name"":""""},""logLevel"":""verbose"",""host"":""localhost"",""port"":52418,""path"":""/wd/hub"",""baseUrl"":null,""coloredLogs"":true,""screenshotPath"":null,""waitforTimeout"":500,""waitforInterval"":250,""sync"":true}
[chimp][session-manager] creating webdriver remote 
[chimp][session-manager] checking connection to selenium server
[15:16:54]  COMMAND GET      ""/wd/hub/status""
[15:16:54]  DATA        {}
[15:16:54]  RESULT      {""build"":{""version"":""alpha""},""os"":{""arch"":""x86_64"",""name"":""Mac OS X"",""version"":""10.11.6""}}
[chimp][session-manager] Connection to the to selenium server verified
[chimp][session-manager] watch mode is false, not reusing a session
[chimp][hooks] init browser
[chimp][hooks] init browser callback
[15:16:54]  COMMAND POST     ""/wd/hub/session""
[15:16:54]  DATA        {""desiredCapabilities"":{""javascriptEnabled"":true,""locationContextEnabled"":true,""handlesAlerts"":true,""rotatable"":true,""browserName"":""chrome"",""platform"":""ANY"",""name"":"""",""loggingPrefs"":{""browser"":""ALL"",""driver"":""ALL""},""requestOrigins"":{""url"":""http://webdriver.io"",""version"":""4.6.2"",""name"":""webdriverio""}}}
[chimp][helper] setupBrowserAndDDP had error
{ Error: session not created exception: Chrome version must be &gt;= 58.0.3029.0
    at initBrowser (/usr/local/lib/node_modules/chimp/dist/lib/chimp-helper.js:189:43)
    at Object.setupBrowserAndDDP (/usr/local/lib/node_modules/chimp/dist/lib/chimp-helper.js:264:7)
    at Context.&lt;anonymous&gt; (/usr/local/lib/node_modules/chimp/dist/lib/mocha/mocha-helper.js:13:15)
    at /usr/local/lib/node_modules/chimp/dist/lib/utils/fiberize.js:29:22
    (Driver info: chromedriver=2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262),platform=Mac OS X 10.11.6 x86_64)
  message: 'session not created exception: Chrome version must be &gt;= 58.0.3029.0\n  (Driver info: chromedriver=2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262),platform=Mac OS X 10.11.6 x86_64)',
  type: 'RuntimeError',
  seleniumStack: 
   { status: 33,
     type: 'SessionNotCreatedException',
     message: 'A new session could not be created.',
     orgStatusMessage: 'session not created exception: Chrome version must be &gt;= 58.0.3029.0\n  (Driver info: chromedriver=2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262),platform=Mac OS X 10.11.6 x86_64)' } }
Error: session not created exception: Chrome version must be &gt;= 58.0.3029.0
    at initBrowser (/usr/local/lib/node_modules/chimp/dist/lib/chimp-helper.js:189:43)
    at Object.setupBrowserAndDDP (/usr/local/lib/node_modules/chimp/dist/lib/chimp-helper.js:264:7)
    at Context.&lt;anonymous&gt; (/usr/local/lib/node_modules/chimp/dist/lib/mocha/mocha-helper.js:13:15)
    at /usr/local/lib/node_modules/chimp/dist/lib/utils/fiberize.js:29:22
    (Driver info: chromedriver=2.30.477690 (c53f4ad87510ee97b5c3425a14c0e79780cdf262),platform=Mac OS X 10.11.6 x86_64)
[chimp][mocha] Closed with code 2
[chimp][mocha] Mocha not in a stopping state
[chimp] Finished running async processes with errors
[chimp] run complete with errors Mocha failed
[chimp] interrupting
[chimp] 2 processes to interrupt
[chimp][mocha] interrupting mocha
[chimp][mocha] kill called on mocha process with pid 49391
[chimp][mocha] checking if process exists
[chimp][mocha] mocha process does not exists, ignoring
[chimp][chromedriver] interrupt called
[chimp][chromedriver] stopping process
[chimp][chromedriver] kill called on chromedriver process with pid 49390
[chimp][chromedriver] checking if process exists
[chimp][chromedriver] chromedriver process exists, killing it with SIGTERM
Mocha failed
Error in chimp init Mocha failed
</code></pre>

<p>.......</p>

<p>I really want to get chimp working in order to implement acceptance testing on a significant meteor project that we are using in my group.</p>

<p>Failing getting chimp to work, if anyone knows of a better way to do automated acceptance testing on a meteor app I would appreciate that insight as well. Thanks.</p>
",https://stackoverflow.com/questions/44640410/i-cannot-get-the-latest-meteor-todos-example-chimp-acceptance-test-to-work-on-ma,"['javascript', 'macos', 'google-chrome', 'meteor', 'chimp.js']",206,FALSE,-1,1
Autosar Application Frame vs Nm Frame,"<p>In autosar Network Management/CanNetworkManagement, what is the difference between an Application Frame and an Nm Frame?</p>

<p>I've already searched through the specifications and I've only found one instance of it, I found it in: <em>AUTOSAR_TPS_SystemTemplate Table 5.32</em></p>

<blockquote>
  <p>Reference to collection of FrameTriggerings that
  are used for the wakeup of this PNC (Application
  Frames or Nm Frames can be used). This
  reference is optional in case an ecu extract has
  only indirect pnc access, i.e. ecu is not directly
  conntected to a network which supports partial
  network.</p>
</blockquote>

<p>I need to know it for Acceptance Testing purposes. I can't seem to differentiate the two by just basing on the specifications. Thank you very much!</p>
",https://stackoverflow.com/questions/47809363/autosar-application-frame-vs-nm-frame,"['networking', 'can-bus', 'autosar']",1743,TRUE,0,2
Sabre dev studio soapUI tests authentication,"<p>SOAP Basics - environments section on the Sabre Dev Studio (<a href=""https://developer.sabre.com/docs/read/soap_basics/environments"" rel=""nofollow noreferrer"">https://developer.sabre.com/docs/read/soap_basics/environments</a>) says ""After you register with Sabre® , you receive test authentication credentials and authorization to use the APIs you selected.""</p>

<p>Does this apply to using the soapUI Test Client? I downloaded the test client and the project properties in soapUI is asking for a different set of authentication parameters (username, password, organization) than what was given to me after registration (client id, client secret).</p>

<p>Also, the default endpoint I see inside soapUI tests is <a href=""https://webservices.sabre.com/websvc"" rel=""nofollow noreferrer"">https://webservices.sabre.com/websvc</a> , and the web documentation show a different endpoint for customer acceptance testing and nothing for the client development environment. </p>

<p>Any thoughts?</p>
",https://stackoverflow.com/questions/44854442/sabre-dev-studio-soapui-tests-authentication,"['soapui', 'sabre']",308,TRUE,0,1
Error &quot;Call to a member function get() on null&quot; on Running acceptance with Codeception 2.2.10 on Windows,"<p>I'm using Codeception for acceptance testing. Selenium driver version <strong>3.3.1</strong> (selenium-server-standalone-3.3.1.jar) along with latest version of firefox <strong>52</strong> to test. I've already added geckodriver version 0.15 to the environment variable Path of Windows. But when running an acceptance test, I get the following error :</p>

<p><strong>""[Error] Call to a member function get() on null ""</strong></p>

<p>In addition, I get the following warning in the selenium running terminal :</p>

<p><strong>""The path to the driver executable must be set by the webdriver.gecko.driver system property""</strong></p>

<p>The following is my acceptance.suite.yml file: </p>

<pre><code>class_name: AcceptanceTester
    modules:
        enabled:
            - WebDriver:
            url: 'http://www.test.com/'
            browser: 'firefox'
            - Asserts
            - \Helper\Acceptance
</code></pre>

<p>To run the selenium driver, I run the following command: </p>

<pre><code>java -jar tests\selenium-server-standalone-3.3.1.jar
</code></pre>

<p>And to run the test, I run the following command:</p>

<pre><code>vendor\bin\codecept run tests\acceptance\TestCest.php
</code></pre>

<p>Does selenium can not read the path from environment variable Path of Windows? </p>
",https://stackoverflow.com/questions/43424689/error-call-to-a-member-function-get-on-null-on-running-acceptance-with-codec,"['php', 'windows', 'selenium', 'selenium-webdriver', 'codeception']",1281,TRUE,-1,1
"Can Yii1 legacy app be connected to Yii2, such that Yii2 takes care of unit/functional testing","<p>Guys we built our product on Yii1 framework, and there is a lot of code, and lets just assume that currently for us to migrate to Yii2 is not an option.</p>

<p>Now Yii1 unit / functional / acceptance testing and PHPunit is broken, we are having a difficult time getting a solution. We are kind of trapped in Yii1.</p>

<p>One ray of hope comes from the fact that there are ways available through which Yii2 can be connected to Yii1 (<a href=""http://www.yiiframework.com/doc-2.0/guide-tutorial-yii-integration.html#using-both-yii2-yii1"" rel=""nofollow noreferrer"">http://www.yiiframework.com/doc-2.0/guide-tutorial-yii-integration.html#using-both-yii2-yii1</a>)</p>

<p>Is it possible / feasible to connect my current app to Yii2 and then manage all the unit / functional testing through Yii2. So that my app remains happy in Yii1 and Yii2 takes care of the testing part.</p>

<p><a href=""https://i.stack.imgur.com/M4Cu0.png"" rel=""nofollow noreferrer"">Here is a Visualization of what I am asking for</a></p>

<p>Experts suggest please </p>
",https://stackoverflow.com/questions/43405419/can-yii1-legacy-app-be-connected-to-yii2-such-that-yii2-takes-care-of-unit-func,"['unit-testing', 'yii', 'yii2', 'phpunit']",57,FALSE,1,1
Why don&#39;t there seem to be any robust HTTP server mocking packages for node? (or are there?),"<p>I'm very new to Node.js, so I might just not be getting it, but after searching quite a bit, and trying a few different solutions, I am still not able to find a decent way to mock API responses using Node for acceptance testing.</p>

<p>I've got a javascript app (written in elm actually) that interacts with an API (pretty common, I imagine), and I want to write some acceptance tests... so I setup WebdriverIO with selenium and mocha, write some tests, and of course now I need to mock some API responses so that I can setup some theoretical scenarios to test under.</p>

<p><a href=""https://www.npmjs.com/package/mock-api-server"" rel=""nofollow noreferrer"">mock-api-server</a>: Looked pretty nice, but there's no way to adjust the headers getting sent back from the server!</p>

<p><a href=""https://www.npmjs.com/package/mock-http-server"" rel=""nofollow noreferrer"">mock-http-server</a>: Also looked pretty nice, lets me adjust headers, but there's no way to reset the mock responses without shutting down the whole server... !? And that has issues because the server won't shut down while the browser window is still open, so that means I have to close and relauch the browser just to clear the mocks!</p>

<p><a href=""https://www.npmjs.com/package/json-server"" rel=""nofollow noreferrer"">json-server</a>: Simple and decent way to mock some responses, but it relies entirely on files on disk for the responses.  I want something I can configure from within a test run without reading and writing files to disk.</p>

<p>Am I missing something?  Is this not how people do acceptance testing in the Node universe?  Does everyone just use a fixed set of mock data for their entire test suite?  That just sounds insane to me... Particularly since it seems like it wouldn't be that hard to write a good one based on express server that has all the necessary features... does it exist?</p>

<p><strong>Necessary Features:</strong></p>

<ol>
<li>Server can be configured and launched from javascript</li>
<li>Responses(including headers) can be configured on the fly</li>
<li>Responses can also be reset easily on the fly, without shutting down the server.</li>
</ol>
",https://stackoverflow.com/questions/42568920/why-dont-there-seem-to-be-any-robust-http-server-mocking-packages-for-node-or,"['node.js', 'testing', 'mocking']",821,TRUE,1,3
Why is this Capbara &#39;have_content&#39; expectation unexpectedly passing?,"<p>I am trying to do some acceptance testing and confirm the presence of a model's various attributes being rendered on a Quote#show page. I am using code an expectation as below;</p>

<pre><code>expect(page).to have_content(""#{quote.industry}"")
</code></pre>

<p>I am using FactoryGirl to <code>Quote.create</code> with required object attrs. <code>Quote.industry</code> is an <code>enum</code> created on the quote model with a range of options, all works and renders just fine. However wven when I comment out the diaplay of this attribute on the template the test still passes. There is no other element on the page that matches quote.industry. I cannot work out what's going on?</p>

<p>Secondary to actually understanding what's going on with the above, perhaps it' bad form to be interpolating a value into a Capybara matcher argument? Should one stick to giving strings to the <code>have_content</code> matcher?
But perhaps the argument given to have_content should just be a string, as opposed to an interpolated FactoryGirl object. Is this acceptable practice?</p>

<p>Thanks</p>

<p>quote_page_spec.rb</p>

<pre><code>require 'rails_helper'

feature 'quote page' do
    scenario 'renders all quote attributes' do
        quote = FactoryGirl.create(:quote)
        visit(""/quotes/#{quote.id}"")

        expect(page).to have_content(""#{quote.industry}"")
    end
end
</code></pre>

<p>factories/quotes.rb</p>

<pre><code>FactoryGirl.define do
  factory :quote do
    sequence(:co_name) { |n| ""Acme Co #{n}"" }
    industry Quote.industries[:financial_services]
  end
end
</code></pre>

<p>models/quote.rb</p>

<pre><code>class Quote &lt; ApplicationRecord
    enum industry:          [ :financial_services, :architect, :business_consultancy ]
    enum payment_frequency: [ :annually, :monthly ]
end
</code></pre>

<p>show.html.erb</p>

<pre><code>&lt;div class=""container""&gt;
    &lt;div class=""row""&gt;
    &lt;div class=""col-md-6""&gt;
        &lt;table class=""table table-bordered table-responsive""&gt;
          &lt;thead&gt;
            &lt;tr&gt;
              &lt;th&gt;Property&lt;/th&gt;
              &lt;th&gt;Value&lt;/th&gt;
            &lt;/tr&gt;
          &lt;/thead&gt;
          &lt;tbody&gt;
            &lt;tr&gt;
              &lt;td&gt;Company name&lt;/td&gt;
              &lt;td&gt;&lt;%= @quote.co_name %&gt;&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td&gt;Company number&lt;/td&gt;
              &lt;td&gt;&lt;%= @quote.co_number %&gt;&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td&gt;Office postcode&lt;/td&gt;
              &lt;td&gt;&lt;%= @quote.postcode %&gt;&lt;/td&gt;
            &lt;/tr&gt;
            &lt;!-- &lt;tr&gt;
              &lt;td&gt;Industry&lt;/td&gt;
              &lt;td&gt;&lt;%= @quote.industry %&gt;&lt;/td&gt;
            &lt;/tr&gt; --&gt;
          &lt;/tbody&gt;
        &lt;/table&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>
",https://stackoverflow.com/questions/44292817/why-is-this-capbara-have-content-expectation-unexpectedly-passing,"['ruby', 'capybara', 'acceptance-testing']",396,TRUE,0,2
Using VSTS to build/run Selenium tests defined in shared solution,"<p>I'm responsible for user acceptance testing for a .NET project being developed by a third party organisation. They have created a solution in VSTS and we're collaborating using the Agile process to communicate requirements and acceptance criteria via User Stories. The third party doing the development is responsible for completing their own testing prior to handing over for UAT.</p>

<p>To facilitate continuous delivery we have a UAT server and use Web Deploy to install new releases of the application using VSTS. I need to write Selenium tests to automate the UAT process. I'm wondering where I should put that project. I can add it to the existing solution but I don't want to get in the way of the developers. I see that VSTS has an option to build sources from a remote repository. So would this be a better option? Is there any guidance about a good approach for doing this? </p>
",https://stackoverflow.com/questions/44012547/using-vsts-to-build-run-selenium-tests-defined-in-shared-solution,"['continuous-integration', 'azure-pipelines', 'continuous-delivery', 'user-acceptance-testing']",155,TRUE,0,1
How to branch for CI &amp; CD using TFS?,"<p>We have Dev, QA pre_prod (stage) and Prod(Trunk) branch.</p>

<p>This is how our process works , please help in improving process to avail CI&amp;CD features using TFS..</p>

<p>Dev changes are merged to QA branch on schedule basis say end of sprint. then published from QA branch. QA team does testing if found any defect , then bug-fix is done in QA branch then get merged with Dev branch.
if QA is done then QA branch is merged with pre-Prod and Acceptance testing is done by client then merged to prod branch and published to client.</p>

<p>if it comes production bug, hot fix is made in pre-prod branch -> published for  acceptance testing (acceptance env where QA gets notified) ->all good then then merge to prod branch and publish to client.
hot fix is not merged to QA as it may add other QA ongoing check-ins. since hot fix needs instant fix it goes through Acceptane testing directly where QA also can test .. if all good then get merged to QA branch.
Cons:
1. All development has to be done to give build to QA . so QA is idle. no CI.
2. Another team to do merging between branches. publish it and if error again merging it. resource not free...</p>

<p>how can we implement TFS CI&amp; CD features here ? </p>

<p>CI better works with one branch pattern where check-in will trigger build then QA will test and approve then promote to prod. but here if QA rejects then dev has to fix  since it is single branch it will get merge with ongoing daily check-ins and if triggers some more error in QA the this cycle will repeat  all the time and features can't be promoted to prod.</p>

<p>Second solution could be to establish branch specific CI &amp; CD as changes are done in individual branch. but here we can't avail the CD feature.... as there is no link between environments ...</p>

<p>third concern is QA needs a stable environment to test all tasks..if in mid new deployment is added through CD then QA testing will get hampered. </p>

<p>please help...and provide your thoughts to it if  process needs to be changed...</p>
",https://stackoverflow.com/questions/46256352/how-to-branch-for-ci-cd-using-tfs,"['tfs', 'continuous-integration', 'continuous-deployment', 'azure-pipelines', 'azure-pipelines-release-pipeline']",518,FALSE,0,0
"How to stop simple_form setting radio buttons as readonly, gives Capybara error?","<p>I am 'acceptance' testing creation of a <code>Quote</code> object with various attrs, the form is made with <code>simple_form_for</code> with the f.input specifying <code>:radio_buttons</code>. When running my tests an:</p>

<pre><code>creating quote request
    Attempt to set readonly element with value: true 
     * This will raise an exception in a future version of Capybara
</code></pre>

<p>warning is given, suggesting that the form input has a readonly html element, which was not explicitly specified by me as true. Capybara does not seem to have an issue setting values for other input element types, therefore suggesting that they are not set as readonly.</p>

<p>Why is simple_form setting radio_button elements as readonly, if that is indeed what's happening here? And how do I override this so that Capybara can set these attrs with the value i place in my factory?</p>

<p>Code as below:</p>

<p>Model; quote.rb:</p>

<pre><code>class Quote &lt; ApplicationRecord
    enum industry:          [ :financial_services, :architect, :business_consultancy ]
    enum payment_frequency: [ :annually, :monthly ]
end
</code></pre>

<p>Controller; quotes_controller.rb:</p>

<pre><code>Class QuotesController &lt; ApplicationController


  def new
    @quote = Quote.new
  end

  def create
    @quote = Quote.new(quote_params)
    if @quote.save
        redirect_to root_url, notice: 'Quote request created'
    else
      render :new
    end
  end

  def show
    @quote = Quote.find(params[:id])
  end

private

  def quote_params
    params.require(:quote).permit(:lives_overseas)
  end
end
</code></pre>

<p>quote/new.html.erb</p>

<pre><code>&lt;div class='container'&gt;
    &lt;div class='row'&gt;
        &lt;div class='col-md-6'&gt;
            &lt;%= simple_form_for @quote do |f| %&gt; 
                &lt;%= f.input :lives_overseas, as: :radio_buttons %&gt;
                &lt;%= f.submit ""Get quote"", class: 'btn btn-primary' %&gt;
            &lt;% end %&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>To clean up tests i refactored form completion into methods in spec/support/new_quote_form.rb:</p>

<pre><code>class NewQuoteForm
    include Capybara::DSL

    def visit_page
        visit('/')
        self
    end

    def fill_in_with(params = {})
        check('GLA')                                                    # How to fetch params option if given here?
        within("".quote_prev_cover"") { choose('No') }                    # How to fetch params option if given here?
        fill_in('Company name', with: params.fetch(:co_name, 'acme co'))
        fill_in('Company number', with: params.fetch(:co_number, '1234567'))
        fill_in('Postcode', with: params.fetch(:postcode, 'al1 1aa'))
        select('Financial services', from: 'Industry')                  # How to fetch params option if given here?
        within("".quote_lives_overseas"") { choose('No') }                # How to fetch params option if given here?
        within(""#quote_scheme_start_date_1i"") { select('2018') }        # How to fetch params option if given here?
        within(""#quote_scheme_start_date_2i"") { select('January') }     # How to fetch params option if given here?
        within(""#quote_scheme_start_date_3i"") { select('1') }           
        select('Monthly', from: 'Payment frequency')                    # How to fetch params option if given here?
        fill_in('Commission level', with: params.fetch(:commission_level, '10'))
        self
    end

    def submit
        click_on('Get quote')
        self
    end
end
</code></pre>

<p>And the actual test which i now realise, thanks to @thomas-walpole, is the one generating the message is; create_quote_spec.rb</p>

<pre><code>require 'rails_helper'
require_relative '../support/new_quote_form'

feature 'creating quote request' do
    let(:new_quote_form) { NewQuoteForm.new }

    scenario 'completing quote data' do
        new_quote_form.visit_page.fill_in_with().submit
        expect(page).to have_content('Quote request created')
    end

    scenario 'cannot reqest quote with invalid data' do
        new_quote_form.visit_page.submit
        expect(page).to have_content(""Must be selected"")
    end
end
</code></pre>

<p>Chrome inspector shows this html:</p>

<pre><code>&lt;input class=""radio_buttons optional"" readonly=""readonly"" value=""false"" name=""quote[lives_overseas]"" id=""quote_lives_overseas_false"" type=""radio""&gt;
</code></pre>

<p>I've attempted to comment out config/initializers/simple_form.rb; <code>b.optional :readonly</code> but no change to the test warning.</p>
",https://stackoverflow.com/questions/44333567/how-to-stop-simple-form-setting-radio-buttons-as-readonly-gives-capybara-error,"['rspec', 'capybara', 'simple-form']",432,TRUE,0,1
Can I use Cucumber to test an application that uses more than one language?,"<p>I'm currently part of a team working on a Hadoop application, parts of which will use Spark, and parts of which will use Java or Python (for instance, we can't use Sqoop or any other ingest tools included with Hadoop and will be implementing our own version of this). I'm just a data scientist so I'm really only familiar with the Spark portion, so apologies for the lack of detail or if this question just sucks in general - I just know that the engineering team needs both Java and Python support. I have been asked to look into using Cucumber (or any other BDD framework) for acceptance testing our app front to back once we're further along. I can't find any blogs, codebases, or other references where cucumber is being used in a polyglot app, and barely any where Hadoop is being used. Would it be possible to test our app using Cucumber or any other existing BDD framework? We already plan to do unit and integration testing via JUnit/PyUnit/etc as well. </p>
",https://stackoverflow.com/questions/42909952/can-i-use-cucumber-to-test-an-application-that-uses-more-than-one-language,"['java', 'python', 'hadoop', 'cucumber', 'cucumber-jvm']",1122,FALSE,0,3
All Dingo routes return 404 when phpunit testing,"<p><em>original posted at <a href=""https://github.com/dingo/api/issues/1472_"" rel=""nofollow noreferrer"">https://github.com/dingo/api/issues/1472</em></a></p>

<p>I'm using Lumen 5.1 and DingoApi 1.0.x to do my api development, and now I'm trying to do some acceptance testing. Following the documentation of Lumen, here is how I do it:</p>

<p>Here is a simplified routes definition in <code>app\Http\routes.php</code>:</p>

<pre><code>$app-&gt;get('/', function () use ($app) {
    return ""Welcome to mysite.com"";
});

$api = app('Dingo\Api\Routing\Router');
$api-&gt;version('v1', function ($api) {
    $api-&gt;group([
        'prefix' =&gt; 'dealer',
        'middleware' =&gt; 'checkH5ApiSign'
    ], function ($api) {
        $api-&gt;get('list', 'App\Http\Controllers\Credit\DealerController@index');
        $api-&gt;get('staff_list', 'App\Http\Controllers\Credit\DealerController@getStaffList');
    });
}
</code></pre>

<p>I can access both routes defined using <code>$app</code> or <code>$api</code>(dingo) in browser or via postman, they both can return a 200 response. But whenever I'm trying to access those routes in phpunit, the <code>$app</code> defined route like <code>/</code> is responding okay with 200 code, but all routes defined with <code>$api</code>(dingo) will response with 404 status code. Here is my test code:</p>

<pre><code>class DealerTest extends TestCase
{
    public function testTest()
    {
        $this-&gt;get('/')-&gt;assertResponseOk();
        $this-&gt;get('/dealer/list')-&gt;assertResponseOk();
        $this-&gt;get('/dealer/staff_list')-&gt;assertResponseOk();
    }
}
</code></pre>

<p>and ran result:</p>

<pre><code>PHPUnit 5.7.5 by Sebastian Bergmann and contributors.

F                                                                  1 / 1 (100%)

Time: 590 ms, Memory: 6.00MB

There was 1 failure:

1) DealerTest::testTest
Expected status code 200, got 404.
Failed asserting that false is true.

E:\Gitrepos\api.fin.youxinjinrong.com\vendor\laravel\lumen-framework\src\Testing\AssertionsTrait.php:19
E:\Gitrepos\api.fin.youxinjinrong.com\tests\DealerTest.php:8

FAILURES!
Tests: 1, Assertions: 2, Failures: 1.
</code></pre>

<p>I tried  ran through Dingo package code to find the cause, but failed. All other related issue could not solve my problem either. So please help me.</p>

<h2>update</h2>

<p>I followed the code flow, and see that <code>FastRoute\DataGenerator\RegexBasedAbstract.php</code> is doing the <code>addRoute()</code> operation, I dumped <code>$this-&gt;staticRoutes)</code> in that <code>addRoute()</code> method, see that it's doing okay both inside browser and under phpunit. But  weird enough, the following call of <code>-&gt;getData()</code> is behaving differenctly: in browser all static routes are returned, but not in phpunit.</p>

<p>Hope this can somehow be helpful. I'm still digging this problem...</p>
",https://stackoverflow.com/questions/46926475/all-dingo-routes-return-404-when-phpunit-testing,"['lumen', 'dingo-api']",589,TRUE,1,1
Ember.js: Component attribute not reset while testing,"<p>I am currently attempting an acceptance test on a nested route, which makes use of the same component twice, but with different arguments. This works fine when I run it normally, however as I run the acceptance test, I notice that the component's arguments aren't being updated, which causes my test to fail. Here is some sample code:</p>

<p>In <code>index.hbs</code> I have:</p>

<pre><code>{{index-view model=model type='location'}}
</code></pre>

<p>My <code>index-view</code> component looks like this:</p>

<pre><code>&lt;h1&gt;{{title}} List&lt;/h1&gt;

{{listing-table model=model type=type}}
</code></pre>

<p>By clicking on an element in the <code>listing-table</code>, I then go to the <code>locations.show</code> route, which contains a <code>link-to</code> the <code>locations.show.devices</code> route. The <code>locations.show.devices</code> route contains:</p>

<pre><code>{{listing-table model=model.devices type='device' exclude='locationName'}}
</code></pre>

<p>However, in my acceptance tests, I can see (by echoing out these attributes in the component's javascript) that while <code>model</code> and <code>type</code> are being updated, <code>exclude</code> is always set to whatever was set when the component was initially called. </p>

<p>Now, I have checked (via <code>console.log()</code>) whether the component is being reused or not, and I could see that both <code>init ()</code> and <code>didDestroyElement ()</code> are called twice, which means that the component goes through an entire lifecycle twice. However, I can't really understand why my <code>exclude</code> argument is not being updated at all, and why does this only happen while acceptance testing?</p>

<p><a href=""https://ember-twiddle.com/d9de007c02765d2f815e5a75c33d37ec?openFiles=tests.acceptance.list-locations-test.js%2C&amp;route=%2Flocations%2F1%2Fdevices"" rel=""noreferrer"">This is a stripped down version of what I'm doing</a> (of course it works on Twiddle, but not in real life!).</p>
",https://stackoverflow.com/questions/45682185/ember-js-component-attribute-not-reset-while-testing,"['javascript', 'ember.js', 'acceptance-testing', 'ember-testing']",220,TRUE,6,1
How to use self signed certificat with Postman,"<p>I'm using Postman to test my API.</p>

<p>It works fine in dev env as I'm calling my server in http.
However on the acceptance testing platform, the server is in https and we are using self signed certificat.</p>

<p>When I try to make the call via Postman I get ""Could not get any response"" and it's written underneath that SSL connections are being blocked, with a link to <a href=""http://blog.getpostman.com/2014/01/28/using-self-signed-certificates-with-postman/"" rel=""noreferrer"">this page</a>. </p>

<p>However as notified in the comment, this does not work anymore for self signed ceritifcate and the latest chrome release.
For info, I'm using Version 59.0.3071.115 (Build officiel) (64 bits)</p>

<p>When I go into google settings, then certificates : chrome://settings/certificates
And I try to import an authority certificat, I get an error popin that says that my authority is not a certificat authority and it won't allow me to import it.</p>

<p>As I'm on linux, I tried to do what is detailed there : <a href=""https://superuser.com/questions/1201552/not-a-certification-authority-while-importing-self-signed-certificate"">https://superuser.com/questions/1201552/not-a-certification-authority-while-importing-self-signed-certificate</a>
But even though I see my certificat when I call</p>

<pre><code>certutil -d sql:$HOME/.pki/nssdb -L 
</code></pre>

<p>It still won't allow me to import it in google.</p>

<p>So how can one use self signed certificat under linux with Postman ?</p>

<hr>

<p>EDIT :  I was using the version from Chrome web store which is lacking SSL support. Downloaded the standalone and as @Pratik Mandrekar wrote it works fine!</p>
",https://stackoverflow.com/questions/45500958/how-to-use-self-signed-certificat-with-postman,"['google-chrome', 'ssl', 'postman', 'self-signed']",5134,TRUE,5,1
Display a count for each unique value in a table column,"<p>How can I grab a count of each unique value from a table's column, plus the actual value, into another cell.</p>

<p>Table 1's status column</p>

<pre><code>**status**  
------  
itemA
itemA
itemB
itemC
</code></pre>

<p>desired results into a single cell:</p>

<pre><code>Table 1 Status summary |2 itemA, 1 itemB, 1 itemC
</code></pre>

<p>I would settle for a simple comma separated list of all the distinct values without the count.</p>

<p>BACKGROUND INFO:
I have an excel document we are using to keep track of acceptance testing of a new application. The document which holds multiple worksheets (each representing an area of code that needs to be tested) and each worksheet has multiple tables (which represent test cases where each case should be tested multiple times or in different ways etc.) and then there is a summary worksheet where I want a snap shot of the data. On the summary page there is line for each table in each worksheet and a status column. In that status column I want to display a count of each status selected in the corresponding table. I had originally created a lengthy formula that hard coded the values and their counts if count was > 0, but as we are testing we are finding the need to add new status values and the formula then becomes way to burdensome to keep updated. </p>

<p><strong>EDIT: ADDING FORMULA</strong>
Here is the formula that I originally had in there</p>

<pre><code>=IF(COUNTIF(Table1[Status],""itemA""),COUNTIF(Table1[Status],""itemA"")&amp;"" itemA"","" "") &amp; IF(COUNTIF(Table1[Status],""itemB""), "", "" &amp;COUNTIF(Table1[Status],""itemB"")&amp;"" itemB"","" "") &amp; IF(COUNTIF(Table1[Status],""itemC""), "", "" &amp;COUNTIF(Table1[Status],""itemC"")&amp;"" itemC"","" "")
</code></pre>

<p>The problem with this is, the formula was repeated about 100 times on the summary page (once for each table in the underlying worksheets) and every time I wanted to add a status I would need to edit each of the formulas.</p>
",https://stackoverflow.com/questions/43129394/display-a-count-for-each-unique-value-in-a-table-column,"['excel', 'vba', 'excel-formula', 'listobject', 'excel-tables']",982,TRUE,0,2
The model backing the &#39;ServicesContext&#39; context has changed since the database was created,"<p>I realise there are a lot of questions about this on Stack Overflow already, but I believe this is slightly different.</p>

<p>I have a setup of 4 databases on 4 different servers that replicate 4 different environments. Sandbox, Test, User Acceptance Testing and Live. These 4 environments have largely the same schema backing them, however there are some differences between each one (mainly between Sandbox and the others as this is most often changed when testing things).</p>

<p>I need to be able to access all 4 environments using Entity Framework from one web application. Currently this all works perfectly when using it to access Test, UAT and Live. Unfortunately when it comes to Sandbox I get the following error: </p>

<blockquote>
  <p>System.InvalidOperationException: 'The model backing the 'ServicesContext' context has changed since the database was created.</p>
</blockquote>

<p>I understand I am getting this error because the database is different from what is expected, but I was hoping there may be a way to get EF to ignore these changes, since the only parts that I am trying to access are all the same.</p>

<p>The only option I have thought of so far is to individually import each of the databases through EF, but I don't want to have to do that as it means I will have to basically copy code for each of the environments (At least, as far as I can see that's what I would have to do?)</p>

<p>I, personally, am not allowed to change and of the system structures or database schemas, so unfortunately that is not an option.</p>

<p>Any help would be most appreciated. </p>
",https://stackoverflow.com/questions/47752155/the-model-backing-the-servicescontext-context-has-changed-since-the-database-w,"['c#', 'sql-server', 'entity-framework']",95,TRUE,0,1
